/* ═══════════════════════════════════════════════
   AO & CO. | Curated Interiors by Ana
   Main Stylesheet — Mobile-first
   ═══════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --color-bg:           #F6F2EE;
  --color-bg-secondary: #F2ECE6;
  --color-bronze:       #B07A3B;
  --color-bronze-hover: #9B6A33;
  --color-text:         #1E1B1A;
  --color-text-secondary: #55504C;
  --color-border:       #D9D0C8;
  --color-footer:       #1C1C1C;
  --color-white:        #FFFFFF;

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

  --nav-height-mobile:  64px;
  --nav-height-desktop: 80px;

  --section-padding-mobile:  72px 24px;
  --section-padding-tablet:  96px 48px;
  --section-padding-desktop: 120px 80px;

  --max-width: 1280px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height-mobile);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--nav-height-mobile);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Utilities ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Eyebrow Labels ── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background-color: var(--color-bronze);
}

/* Center eyebrow variant */
.about-inner .eyebrow,
.services .eyebrow,
.process .eyebrow {
  text-align: center;
}

.about-inner .eyebrow::after,
.services .eyebrow::after,
.process .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-content .eyebrow {
  text-align: left;
}

.contact-content .eyebrow::after {
  left: 0;
  transform: none;
}

/* ── Section Headings ── */
.section-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-bronze);
  color: var(--color-white);
  border: 1px solid var(--color-bronze);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-bronze-hover);
  border-color: var(--color-bronze-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn-nav {
  display: none;
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  padding: 0.6rem 1.4rem;
}

.btn-nav:hover,
.btn-nav:focus-visible {
  background-color: var(--color-text);
  color: var(--color-white);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-bronze);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(246, 242, 238, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(30, 27, 26, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height-mobile);
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* Desktop nav links */
.nav-links {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  height: 1px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.hamburger-line:nth-child(1) { width: 24px; }
.hamburger-line:nth-child(2) { width: 18px; }
.hamburger-line:nth-child(3) { width: 24px; }

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 24px;
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 24px;
}

/* ═══════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  text-align: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--color-bronze);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(30, 27, 26, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
}

/* Mobile: image goes first */
.hero-media {
  order: -1;
  width: 100%;
  height: 72vw;
  min-height: 300px;
  max-height: 520px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 24px 3.5rem;
  max-width: 560px;
  flex-grow: 1;
}

.hero-content .eyebrow {
  text-align: left;
  margin-bottom: 1.25rem;
}

.hero-content .eyebrow::after {
  left: 0;
  transform: none;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 400px;
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about {
  background-color: var(--color-white);
  padding: 80px 0;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
}

.about .section-heading {
  margin-bottom: 1.75rem;
}

.about-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.about-body:last-of-type {
  margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════ */
.team {
  background-color: var(--color-bg);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.team .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.team .eyebrow {
  text-align: center;
}

.team .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.team-grid {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-initials {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-bronze);
  letter-spacing: 0.06em;
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.team-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: 1.5rem;
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.team-bio:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services {
  background-color: var(--color-bg-secondary);
  padding: 80px 0;
}

.services .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.service-card:first-child {
  border-top: 1px solid var(--color-border);
}

.service-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════ */
.process {
  background-color: var(--color-bg);
  padding: 80px 0;
}

.process .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process .section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.process-step:first-child {
  border-top: 1px solid var(--color-border);
}

.step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-bronze);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.step-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.step-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 240px;
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
}

.contact-visual {
  order: 2;
  width: 100%;
  min-height: 320px;
  background: linear-gradient(160deg, #EDE5DC 0%, #DDD4C8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.contact-brand-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  padding: 60px;
  position: relative;
  z-index: 1;
}

.contact-brand-mark {
  width: 180px;
  height: 180px;
  object-fit: contain;
  opacity: 0.18;
}

.contact-content {
  order: 1;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-heading {
  margin-bottom: 2rem;
  text-align: left;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--transition);
}

a.contact-item:hover {
  color: var(--color-bronze);
}

.contact-item-icon {
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.form-row .form-field {
  flex: 1;
}

.form-field {
  width: 100%;
  margin-bottom: 0;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-field textarea {
  resize: none;
  min-height: 120px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.6;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--color-bronze);
}

.btn-submit {
  margin-top: 2rem;
  width: 100%;
}

.form-status {
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-top: 1rem;
  color: var(--color-text-secondary);
  min-height: 1.2em;
}

.form-status.success { color: #4a7c59; }
.form-status.error   { color: #a83232; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  background-color: var(--color-footer);
  color: rgba(246, 242, 238, 0.7);
  padding: 56px 24px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(246, 242, 238, 0.9);
}

.footer-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 242, 238, 0.5);
}

.footer-nav {
  display: none;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 242, 238, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: rgba(246, 242, 238, 0.95);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social-link {
  color: rgba(246, 242, 238, 0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer-social-link:hover {
  color: rgba(246, 242, 238, 0.95);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(246, 242, 238, 0.35);
  width: 100%;
  border-top: 1px solid rgba(246, 242, 238, 0.08);
  padding-top: 1.5rem;
}

/* ═══════════════════════════════════════════════
   SKIP LINK (Accessibility)
   ═══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-bronze);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT: 480px — Small Phones / Landscape
   ═══════════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero-media {
    max-height: 580px;
  }

  .btn-submit {
    width: auto;
  }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT: 768px — Tablet
   ═══════════════════════════════════════════════ */
@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--nav-height-desktop);
  }

  .section-inner {
    padding: 0 48px;
  }

  .site-header.scrolled .nav-inner {
    padding: 0 48px;
  }

  .about { padding: 96px 0; }

  .team { padding: 96px 0; }

  .team-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .team-info {
    align-items: flex-start;
  }

  .services { padding: 96px 0; }
  .process { padding: 96px 0; }

  /* Services: 2-column grid on tablet */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    border-top: none;
  }

  .service-card:first-child {
    border-top: none;
  }

  .service-card:nth-child(even) {
    border-right: none;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    border-top: 1px solid var(--color-border);
  }

  /* Process: 2-column grid */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .process-step {
    padding: 2.5rem 1.5rem 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-top: none;
  }

  .process-step:first-child {
    border-top: none;
  }

  .process-step:nth-child(even) {
    border-right: none;
    padding-left: 1.5rem;
  }

  .process-step:nth-child(1),
  .process-step:nth-child(2) {
    border-top: 1px solid var(--color-border);
  }

  .step-body { max-width: 100%; }

  /* Footer: horizontal layout */
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    row-gap: 2rem;
  }

  .footer-brand {
    flex: 0 0 auto;
  }

  .footer-nav {
    display: flex;
    align-items: center;
  }

  .footer-nav ul {
    flex-direction: row;
    gap: 2rem;
  }

  .footer-copy {
    flex-basis: 100%;
  }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT: 1024px — Desktop
   ═══════════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root {
    --nav-height-mobile: var(--nav-height-desktop);
  }

  /* Nav */
  .nav-inner {
    height: var(--nav-height-desktop);
    padding: 0 60px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  .nav-link {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-bronze);
    transition: width var(--transition);
  }

  .nav-link:hover,
  .nav-link.is-active { color: var(--color-bronze); }
  .nav-link:hover::after,
  .nav-link.is-active::after { width: 100%; }

  .btn-nav { display: inline-block; }

  .hamburger { display: none; }

  /* Hero: two-column */
  .hero {
    flex-direction: row;
    min-height: calc(100vh - var(--nav-height-desktop));
    overflow: hidden;
  }

  .hero-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 60px 80px 80px;
    max-width: none;
  }

  .hero-content .eyebrow {
    margin-bottom: 1.5rem;
  }

  .hero-heading {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    margin-bottom: 1.5rem;
  }

  .hero-body {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 380px;
  }

  .hero-media {
    order: 0;
    flex: 0 0 50%;
    align-self: stretch;
    max-height: none;
    min-height: 480px;
    margin-top: 0;
    position: relative;
  }

  .hero-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* About */
  .about {
    padding: 120px 0;
  }

  /* Services: 4-column */
  .services {
    padding: 100px 0;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 1rem;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .service-card:last-child {
    border-right: none;
  }

  /* Process: 4-column horizontal */
  .process {
    padding: 100px 0;
  }

  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 1rem;
  }

  .process-step,
  .process-step:first-child,
  .process-step:nth-child(even) {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .process-step:last-child {
    border-right: none;
  }

  /* Contact: two-column, image left */
  .contact {
    flex-direction: row;
    min-height: 600px;
  }

  .contact-visual {
    order: 0;
    flex: 0 0 42%;
    min-height: 600px;
  }

  .contact-brand-mark {
    width: 220px;
    height: 220px;
  }

  .contact-content {
    order: 0;
    flex: 1;
    padding: 80px 72px 80px 72px;
    max-width: 680px;
  }

  .btn-submit {
    width: auto;
    min-width: 200px;
  }

  /* Footer */
  .site-footer {
    padding: 0;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 60px;
    gap: 0;
    column-gap: 3rem;
    row-gap: 1.5rem;
  }

  .footer-brand {
    flex: 0 0 auto;
  }

  .footer-nav {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .footer-social {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .footer-copy {
    flex-basis: 100%;
    border-top: 1px solid rgba(246, 242, 238, 0.08);
    padding-top: 1.25rem;
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT: 1280px — Large Desktop
   ═══════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .nav-inner {
    padding: 0 80px;
  }

  .section-inner {
    padding: 0 80px;
  }

  .hero-content {
    padding: 80px 80px 80px 120px;
  }

  .contact-content {
    padding: 100px 100px 100px 80px;
  }

  .footer-inner {
    padding: 0 80px;
  }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT: 1440px — Extra Wide
   ═══════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .hero-content {
    padding-left: calc((100vw - var(--max-width)) / 2 + 80px);
  }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT: 1920px — Ultra-wide
   ═══════════════════════════════════════════════ */
@media (min-width: 1920px) {
  .hero {
    max-height: 960px;
  }

  .hero-media {
    height: 960px;
    min-height: 960px;
  }
}

/* ═══════════════════════════════════════════════
   HERO IMAGE — SHOW FULL PHOTO WITHOUT CROPPING
   ═══════════════════════════════════════════════ */

.hero-media {
  order: -1;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    min-height: auto;
    max-height: none;
    align-items: stretch;
    overflow: visible;
  }

  .hero-media {
    order: 0;
    flex: 0 0 50%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }

  .hero-portrait {
    object-fit: contain;
    object-position: center;
  }
}

/* Remove the previous ultra-wide height restriction */
@media (min-width: 1920px) {
  .hero {
    max-height: none;
  }

  .hero-media {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

/* ═══════════════════════════════════════════════
   TEAM PAGE (team.html)
   ═══════════════════════════════════════════════ */

.nav-link[aria-current="page"] {
  color: var(--color-bronze);
}

.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* Ana Oates — Enriched Bio Layout */

.tm-content--ana {
  max-width: none;
}

.ana-intro {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin-top: 1.25rem;
}

/* ─ Education ─ */
.ana-education {
  margin: 2rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ana-sublabel {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: 1.5rem;
}

.ana-degrees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.ana-degree {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  flex: 1;
}

.ana-degree-ba {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--color-text);
  line-height: 1;
}

.ana-degree-field {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.35;
  margin-top: 0.25rem;
}

.ana-degree-note {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.15rem;
}

.ana-degree-sep {
  width: 1px;
  height: 72px;
  background: var(--color-border);
  flex-shrink: 0;
}

.ana-education-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ─ Stats ─ */
.ana-stats {
  display: flex;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 0 0 2rem;
}

.ana-stat {
  flex: 1;
  text-align: center;
  padding: 1.25rem 0.5rem;
  border-right: 1px solid var(--color-border);
}

.ana-stat:last-child {
  border-right: none;
}

.ana-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: var(--color-bronze);
  line-height: 1.2;
  font-style: italic;
}

.ana-stat--text .ana-stat-val {
  font-size: 0.9375rem;
  line-height: 1.35;
}

.ana-stat-unit {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: 0.1rem;
}

.ana-stat-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ─ Section Eyebrow ─ */
.ana-section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: 0.75rem;
}

/* ─ Values ─ */
.ana-values {
  margin: 2rem 0;
}

.ana-values-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.ana-value-label {
  flex: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 0.5rem 0;
}

.ana-value-sep {
  width: 1px;
  height: 28px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ─ Pull Quote ─ */
.ana-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: var(--color-text);
  text-align: center;
  line-height: 1.45;
  margin: 2rem 0;
}

.ana-quote::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--color-bronze);
  margin: 0 auto 1.75rem;
}

.tm-content--ana .btn {
  align-self: center;
  margin-top: 0;
}

@media (min-width: 768px) {
  .tm-content--ana {
    max-width: none;
  }
}

.team-page-intro {
  background-color: var(--color-bg);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.team-page-intro .eyebrow {
  text-align: center;
}

.team-page-intro .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.team-page-intro .section-heading {
  text-align: center;
  margin-bottom: 0;
}

.tm-section {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
}

.tm-section--taylor {
  background-color: var(--color-bg-secondary);
}

.tm-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.tm-photo picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.tm-content {
  padding: 3rem 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-name {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.tm-bio {
  margin-top: 1.5rem;
}

.tm-bio p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.tm-bio p:last-child {
  margin-bottom: 0;
}

.tm-content .btn {
  margin-top: 2.5rem;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .team-page-intro {
    padding: 96px 0 72px;
  }

  .tm-section {
    flex-direction: row;
    min-height: 560px;
  }

  .tm-section--reverse {
    flex-direction: row-reverse;
  }

  .tm-photo {
    width: 42%;
    aspect-ratio: unset;
    height: auto;
  }

  .tm-content {
    flex: 1;
    padding: 4rem 3.5rem;
    max-width: 640px;
  }
}

@media (min-width: 1024px) {
  .team-page-intro {
    padding: 112px 0 80px;
  }

  .tm-section {
    min-height: 640px;
  }

  .tm-photo {
    width: 44%;
  }

  .tm-content {
    padding: 5rem 4.5rem;
  }
}

@media (min-width: 1280px) {
  .tm-section {
    min-height: 720px;
  }

  .tm-photo {
    width: 46%;
  }

  .tm-content {
    padding: 5rem 6rem;
  }
}
