/* ============================================
   CHISELS & PICKS - Bespoke Craftsman Design
   ============================================
   
   A hand-crafted website for a hand-crafter.
   Breaking the template mold with intention.
   
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors - Rich, intentional palette */
  --color-primary: #6B3D1F;
  --color-primary-dark: #3D2213;
  --color-primary-light: #8B5A38;
  --color-accent: #C4956B;
  --color-accent-light: #E8D5C4;
  --color-cream: #F8F4ED;
  --color-cream-dark: #E8E0D4;
  --color-dark: #1A1410;
  --color-charcoal: #2A211A;
  --color-text: #3D2F26;
  --color-text-muted: #8B7B6B;
  --color-white: #FFFFFF;

  /* Typography - Distinctive */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', -apple-system, sans-serif;

  /* Spacing - Comfortable but not excessive */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Grid & Layout */
  --max-width: 1400px;
  --max-width-narrow: 800px;
  --max-width-wide: 1600px;

  /* Effects */
  --transition-fast: 0.2s ease;
  --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles - Bespoke Foundations
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography - Distinctive hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h4 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Bespoke Layout Utilities
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

/* Asymmetric container - shifts content left */
.container--offset-left {
  margin-left: 8%;
  margin-right: auto;
  max-width: calc(var(--max-width) - 8%);
}

/* Sections with generous vertical rhythm */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

.section--cream {
  background-color: var(--color-cream);
}

.section--white {
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-cream);
}

/* ============================================
   Bespoke Decorative Elements
   ============================================ */

/* Curved section divider */
.curve-divider {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
}

.curve-divider--top {
  top: -1px;
}

.curve-divider--bottom {
  bottom: -1px;
  transform: rotate(180deg);
}

.curve-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Decorative accent line */
.accent-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  margin: var(--space-md) 0;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* Large decorative number */
.deco-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 400;
  color: var(--color-accent-light);
  line-height: 0.8;
  letter-spacing: -0.05em;
  opacity: 0.4;
  position: absolute;
  user-select: none;
}

/* Subtle grain texture overlay */
.grain-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Pull quote styling */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

.text-muted {
  color: var(--color-text-muted);
}

/* ============================================
   Buttons - Modern Craftsman
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  gap: 0.75rem;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--light {
  background-color: var(--color-cream);
  color: var(--color-primary);
  border-color: var(--color-cream);
}

.btn--light:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--phone {
  letter-spacing: 0.1em;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  background-color: var(--color-cream);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  max-height: 80px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav__link {
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-primary);
}

.nav__cta {
  margin-left: var(--space-sm);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle__bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    transition: right var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav__list.active {
    right: 0;
  }

  .nav__cta {
    display: none;
  }

  .nav-toggle.active .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ============================================
   Hero Section - Bold & Immersive
   ============================================ */

.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.hero--home {
  min-height: 75vh;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero:hover .hero__background {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg,
      rgba(26, 17, 10, 0.92) 0%,
      rgba(26, 17, 10, 0.75) 50%,
      rgba(26, 17, 10, 0.6) 100%);
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--color-cream);
  max-width: 800px;
}

.hero__title {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  line-height: 1.9;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Ghost button for hero */
.btn--ghost {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(248, 244, 237, 0.4);
}

.btn--ghost:hover {
  background: rgba(248, 244, 237, 0.1);
  border-color: var(--color-cream);
  color: var(--color-cream);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-cream);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--color-cream) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

@media (max-width: 768px) {
  .hero__scroll {
    display: none;
  }
}

/* Page Heroes (smaller) */
.hero--page {
  min-height: 45vh;
  text-align: center;
}

.hero--page .hero__content {
  max-width: 900px;
  margin: 0 auto;
}

.hero--page .hero__subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   About Section - Bespoke Asymmetric Layout
   ============================================ */

/* Legacy support */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about__lead {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: var(--space-md);
}

/* NEW Bespoke About */
.about-bespoke {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 5%;
  align-items: center;
  position: relative;
}

.about-bespoke__text {
  position: relative;
  z-index: 2;
}

.about-bespoke__deco {
  position: absolute;
  top: -3rem;
  left: -4rem;
  z-index: 1;
}

.about-bespoke__kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.about-bespoke__text h2 {
  margin-bottom: 0;
}

.about-bespoke__lead {
  font-size: 1.2rem;
  color: var(--color-primary);
  line-height: 1.7;
  margin-top: var(--space-md);
}

.about-bespoke__image-wrap {
  position: relative;
}

.about-bespoke__image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  /* Break it out of the grid slightly */
  margin-right: -10%;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .about-bespoke {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-bespoke__image-wrap {
    order: -1;
  }

  .about-bespoke__image {
    margin-right: 0;
  }

  .about-bespoke__deco {
    display: none;
  }
}

/* ============================================
   What I Do - Flowing Services (Homepage)
   ============================================ */

.what-i-do {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-primary);
}

/* Legacy flow styles - kept for compatibility */
.services-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-item {
  max-width: 650px;
  margin: 0 auto;
}

.service-item h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-item p {
  color: var(--color-text);
  line-height: 1.8;
  margin: 0;
}

.flow-divider {
  font-size: 2rem;
  color: var(--color-accent);
  opacity: 0.5;
  line-height: 1;
}

.section-cta {
  margin-top: var(--space-lg);
}

/* ============================================
   Bespoke Services Section
   ============================================ */

.services-header {
  margin-bottom: var(--space-xl);
}

.services-header__kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.services-header h2 {
  margin-bottom: 0;
}

.services-bespoke {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 950px;
}

.service-bespoke {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-md);
  align-items: start;
}

.service-bespoke--alt {
  margin-left: auto;
  text-align: right;
  grid-template-columns: 1fr 100px;
}

.service-bespoke--alt .service-bespoke__number {
  order: 2;
  text-align: left;
}

.service-bespoke--alt .service-bespoke__content {
  order: 1;
}

.service-bespoke__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.6;
}

.service-bespoke__content h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.service-bespoke__content p {
  color: var(--color-text);
  line-height: 1.8;
  max-width: 500px;
}

.service-bespoke--alt .service-bespoke__content p {
  margin-left: auto;
}

.services-footer {
  margin-top: var(--space-lg);
  text-align: center;
}

@media (max-width: 768px) {

  .service-bespoke,
  .service-bespoke--alt {
    grid-template-columns: 60px 1fr;
    text-align: left;
    margin-left: 0;
  }

  .service-bespoke--alt .service-bespoke__number {
    order: 0;
    text-align: right;
  }

  .service-bespoke--alt .service-bespoke__content {
    order: 0;
  }

  .service-bespoke--alt .service-bespoke__content p {
    margin-left: 0;
  }

  .service-bespoke__number {
    font-size: 2.5rem;
  }
}

/* Legacy card styles (kept for services page) */
.services-preview {
  text-align: center;
}

.services-preview__header {
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-cream);
  border-radius: 50%;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.service-card__title {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.service-card__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============================================
   Testimonials - Elegant & Refined
   ============================================ */

.testimonials {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.testimonials__header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.testimonials__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(250, 246, 240, 0.3) 50%, transparent 100%);
}

.testimonial {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-lg);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--color-accent);
  position: absolute;
  top: -2.5rem;
  left: -3rem;
  opacity: 0.3;
  font-style: normal;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.testimonial__location {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* Testimonial Slider */
.testimonials__slider {
  position: relative;
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(253, 245, 230, 0.3);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
}

.testimonials__dot.active,
.testimonials__dot:hover {
  background-color: var(--color-accent);
}

.testimonials__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(253, 245, 230, 0.4);
  color: var(--color-cream);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.testimonials__arrow:hover {
  background: rgba(253, 245, 230, 0.1);
  border-color: var(--color-accent);
}

.testimonials__cta {
  margin-top: var(--space-lg);
  text-align: center;
}

/* ============================================
   CTA Banner - Bold Impact
   ============================================ */

.cta-banner {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   Brand Strip - Logo Feature
   ============================================ */

.brand-strip {
  background: var(--color-dark);
  padding: var(--space-lg) 0;
  text-align: center;
}

.brand-strip__logo {
  max-height: 120px;
  width: auto;
  opacity: 0.9;
}

.cta-banner h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-banner p {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn--light {
  font-size: 0.9rem;
  padding: 1.25rem 3rem;
  position: relative;
}

/* ============================================
   Newsletter Section
   ============================================ */

.newsletter {
  background-color: var(--color-white);
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.newsletter__info h3 {
  margin-bottom: var(--space-sm);
}

.newsletter__links {
  list-style: none;
  margin-top: var(--space-sm);
}

.newsletter__links li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .newsletter__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Footer - Refined & Modern
   ============================================ */

.footer {
  background: linear-gradient(180deg, var(--color-dark) 0%, #0F0A06 100%);
  color: var(--color-cream);
  padding: var(--space-md) 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer__logo-wrap {
  flex-shrink: 0;
}

.footer__logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__content {
  text-align: right;
}

.footer__nav-inline {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  margin-bottom: var(--space-xs);
}

.footer__nav-inline a {
  color: rgba(250, 246, 240, 0.8);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__nav-inline a:hover {
  color: var(--color-accent);
}

.footer__contact-inline {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.6);
  margin-bottom: var(--space-xs);
}

.footer__contact-inline a {
  color: rgba(250, 246, 240, 0.6);
}

.footer__contact-inline a:hover {
  color: var(--color-accent);
}

.footer__copyright {
  font-size: 0.8rem;
  opacity: 0.5;
  margin: 0;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__content {
    text-align: center;
  }

  .footer__nav-inline,
  .footer__contact-inline {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__logo {
    height: 60px;
  }
}

.footer h4 {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--color-accent);
  transform: translateX(3px);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(250, 246, 240, 0.08);
  font-size: 0.875rem;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer__brand {
    max-width: none;
  }

  .footer__links a:hover {
    transform: none;
  }
}

/* ============================================
   Portfolio Page - Gallery Experience
   ============================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.portfolio-grid .portfolio-item:first-child {
  grid-column: span 2;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.portfolio-item__image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-grid .portfolio-item:first-child .portfolio-item__image {
  height: 500px;
}

.portfolio-item:hover .portfolio-item__image {
  transform: scale(1.08);
}

.portfolio-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26, 17, 10, 0.95));
  padding: var(--space-lg) var(--space-md);
  color: var(--color-cream);
  transform: translateY(30%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-item__overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-item__title {
  color: var(--color-cream);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.portfolio-item__desc {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Portfolio Item - Always visible caption for mobile */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid .portfolio-item:first-child {
    grid-column: span 1;
  }

  .portfolio-grid .portfolio-item:first-child .portfolio-item__image,
  .portfolio-item__image {
    height: 280px;
  }

  .portfolio-item__overlay {
    transform: translateY(0);
    opacity: 1;
    padding: var(--space-md);
  }
}

/* ============================================
   Services Page
   ============================================ */

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even)>* {
  direction: ltr;
}

.service-block__image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 350px;
  object-fit: cover;
}

.service-block__content h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.service-block__list {
  list-style: none;
  margin: var(--space-sm) 0;
}

.service-block__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-block__list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }

  .service-block__image {
    height: 250px;
  }
}

/* ============================================
   Contact Page
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: var(--space-md);
}

.contact-form .form-group {
  margin-bottom: var(--space-sm);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-info__item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-cream);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.contact-info__text h4 {
  margin-bottom: 0.25rem;
}

.contact-info__text p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Next Section Guide (Flow between pages)
   ============================================ */

.next-section {
  background: var(--color-cream-dark);
  padding: var(--space-lg) 0;
  text-align: center;
}

.next-section__content {
  max-width: 600px;
  margin: 0 auto;
}

.next-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.next-section h3 {
  margin-bottom: var(--space-sm);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ============================================
   Page Transitions
   ============================================ */

.page-content {
  animation: fadeIn 0.4s ease;
}

/* ============================================
   Contact Strip (Homepage)
   ============================================ */

.contact-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.contact-strip__info h3 {
  margin-bottom: var(--space-xs);
}

.contact-strip__info>p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-strip__details a {
  color: var(--color-primary);
}

.contact-strip__details a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .contact-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* Decorative number hover */
.deco-number {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.about-bespoke:hover .deco-number {
  transform: scale(1.05);
  opacity: 0.5;
}