/* Color palette */
/* Midnight Navy */
/* Soft Off-White */
/* Warm Grey */
/* Deep Slate */
/* Champagne */
/* Emerald Teal */
/* Base colors (updated for new design) */
/* Font stacks */
/* CSS Custom Properties */
:root {
  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", sans-serif;
}

/* ========== Base & Reset ========== */
* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f5f2ec;
  color: #111418;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1100px, 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 10px;
  z-index: 9999;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(0, 0, 0, 0);
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #0f1e25;
  color: #f6f3ee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0);
  color: #0f1e25;
  border-color: rgba(15, 30, 37, 0.4);
}
.btn-ghost:hover {
  border-color: #0f1e25;
}

.back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 20, 24, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #111418;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 40;
  backdrop-filter: blur(10px);
  appearance: none;
}
.back-to-top span {
  font-size: 18px;
  line-height: 1;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover, .back-to-top:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(15, 30, 37, 0.22);
  outline-offset: 2px;
}

body.menu-open .back-to-top,
html.menu-open .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Minimal CSS reset */
:where(html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td) {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", "Inter", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

/* Color palette preview */
.color-palette {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.swatch {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swatch-color {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0);
}

.swatch-meta {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #111418;
}
.swatch-meta .name {
  font-weight: 600;
}
.swatch-meta .hex {
  font-family: monospace;
  font-size: 0.75rem;
  color: #A8A29E;
}

.swatch-color.midnight {
  background: #0E1A26;
}

.swatch-color.soft {
  background: #F7F6F3;
  border-color: rgba(0, 0, 0, 0.06);
}

.swatch-color.warm {
  background: #A8A29E;
}

.swatch-color.deep {
  background: #1F2933;
}

.swatch-color.champagne {
  background: #C6A96B;
}

.swatch-color.emerald {
  background: #0F3D3E;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #f5f2ec 92%, #fff 8%);
  border-bottom: 1px solid rgba(17, 20, 24, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  flex-shrink: 0;
}

.brand-name {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 20, 24, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: #111418;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav a:hover {
  opacity: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  padding: 10px 12px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 999px;
  flex-shrink: 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-toggle,
.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(17, 20, 24, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #111418;
  cursor: pointer;
  appearance: none;
  transition: all 0.2s ease;
}
.lang-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}
.lang-toggle:focus-visible,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(15, 30, 37, 0.22);
  outline-offset: 2px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lang-flag {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.lang-switch select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

.menu-toggle-bar {
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-bar:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle-bar:nth-child(3) {
  transform: translateY(6px);
}

.site-header.nav-open .menu-toggle-bar:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.nav-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle-bar:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    overscroll-behavior: none;
  }
  .site-header {
    overflow: visible;
    --mobile-header-height: 72px;
  }
  .header-inner {
    gap: 10px;
    position: relative;
    z-index: 2;
    min-height: var(--mobile-header-height);
  }
  .nav {
    display: none;
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vh - var(--mobile-header-height));
    height: calc(100svh - var(--mobile-header-height));
    height: calc(100dvh - var(--mobile-header-height));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem;
    background: color-mix(in srgb, #f5f2ec 94%, #fff 6%);
    backdrop-filter: blur(10px);
    z-index: 1;
    overflow-y: auto;
  }
  .nav-list {
    width: min(100%, 24rem);
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
  }
  .nav a {
    width: auto;
    padding: 0.2rem 0;
    font-size: clamp(1.5rem, 4.8vw, 2.25rem);
    text-align: center;
    font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
    opacity: 0.92;
  }
  .site-header.nav-open .nav {
    display: flex;
  }
  .nav-cta {
    margin-top: 0.65rem;
    width: 100% !important;
    padding: 0.7rem 1.15rem;
    justify-content: center;
    text-align: center;
  }
  .header-controls {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
/* Hero Section */
.hero {
  padding: 74px 0 42px;
  background: #f5f2ec;
}
.hero .kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17, 20, 24, 0.55);
}
.hero h1 {
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(54px, 6.8vw, 88px);
  margin: 0;
  max-width: 18ch;
  text-wrap: initial;
}
.hero h1::after {
  content: "";
  display: block;
  width: clamp(120px, 16vw, 210px);
  height: 2px;
  margin-top: 1.6rem;
  background: rgba(15, 30, 37, 0.9);
}

.hero-title-layout {
  display: block;
}

.hero-title-layout-compact {
  display: none;
}

.hero-title-line {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 72rem;
}

.lead {
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.32;
  margin: 2.2rem 0 0;
  color: rgba(17, 20, 24, 0.88);
}

.sublead {
  margin: 1.8rem 0 0;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.45;
  color: rgba(17, 20, 24, 0.62);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}
.hero-actions .btn {
  min-width: 11.5rem;
  min-height: 3.6rem;
  padding: 0.95rem 1.5rem;
  border-width: 2px;
  border-radius: 0;
  font-size: 1rem;
}
.hero-actions .btn-primary {
  box-shadow: none;
}
.hero-actions .btn-ghost {
  background: rgba(0, 0, 0, 0);
  color: rgba(15, 30, 37, 0.96);
  border-color: rgba(15, 30, 37, 0.88);
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(48px, 8vw, 72px);
    max-width: 18ch;
  }
  .hero-title-layout-desktop {
    display: none;
  }
  .hero-title-layout-compact {
    display: block;
  }
  .lead {
    max-width: 34ch;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 60px 0 34px;
  }
  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1;
    max-width: 16ch;
  }
  .hero h1::after {
    margin-top: 1.25rem;
  }
  .lead {
    margin-top: 1.8rem;
    font-size: clamp(20px, 6vw, 24px);
  }
  .sublead {
    margin-top: 1.35rem;
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 2rem;
  }
  .hero-actions .btn {
    min-width: 10.5rem;
    min-height: 3.35rem;
    padding-inline: 1.25rem;
  }
}
/* ========== Industry Experience Grid ========== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.industry-item {
  background: none;
  padding: 0;
  text-align: left;
}

.industry-item .item-title {
  display: block;
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}

.industry-item .item-meta {
  display: block;
  font-size: 1rem;
  color: #C6A96B;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}
/* ========== Sections ========== */
.section {
  min-height: clamp(42rem, 84vh, 56rem);
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
}

.section > .container:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#services.section {
  padding-top: 1.5rem;
}

.section-head {
  margin-bottom: 22px;
}
.section-head h2 {
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 520;
}

.section-intro {
  margin: 10px 0 0;
  color: rgba(17, 20, 24, 0.62);
  max-width: 70ch;
}

/* ========== Cards ========== */
.cards {
  margin-top: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #f0ece5;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 14px;
  padding: 24px 22px 22px;
}
.card .card-icon {
  display: block;
  margin-bottom: 1rem;
}
.card h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 520;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  line-height: 1.65;
  color: rgba(17, 20, 24, 0.62);
}

/* Dark sections */
.section-dark {
  background: #0f1e25;
  color: #f6f3ee;
}
.section-dark .section-intro {
  color: rgba(246, 243, 238, 0.72);
}
.section-dark .card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 243, 238, 0.14);
}

.card-dark p {
  color: rgba(246, 243, 238, 0.78);
}

/* ========== Industry list ========== */
.two-col-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}
.two-col-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 243, 238, 0.14);
}

.item-title {
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.item-meta {
  opacity: 0.78;
  white-space: nowrap;
}

/* ========== Timeline ========== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline .timeline-vertical-line {
  position: absolute;
  left: 63px;
  top: 0px;
  width: 1px;
  height: calc(100% - 64px);
  background: #000;
  z-index: 0;
  content: "";
  display: block;
}
.timeline .timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}
.timeline .timeline-item:last-child {
  margin-bottom: 0;
}
.timeline .timeline-marker {
  position: absolute;
  left: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  z-index: 1;
  top: 0;
}
.timeline .timeline-content {
  margin-left: 40px;
  z-index: 2;
}

.role-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.role-top h3 {
  margin: 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.role-dates {
  color: rgba(17, 20, 24, 0.62);
  font-size: 13px;
}

.role-title {
  margin: 0 0 10px;
  font-weight: 700;
}

.role-desc {
  margin: 0 0 12px;
  color: rgba(17, 20, 24, 0.62);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  background: rgba(245, 242, 236, 0.8);
}

/* ========== About ========== */
.about-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.about-copy p {
  margin: 0 0 12px;
  color: rgba(17, 20, 24, 0.86);
  max-width: 75ch;
}

.stats {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 14px;
  background: #f0ece5;
  padding: 14px;
}
.stat dt {
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin: 0;
}
.stat dd {
  margin: 2px 0 0;
  color: rgba(17, 20, 24, 0.62);
}

/* ========== Contact Section ========== */
.section-contact {
  padding-top: 64px;
  padding-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.contact-title {
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 520;
}

.contact-lead {
  margin: 0;
  color: rgba(246, 243, 238, 0.78);
  max-width: 70ch;
}

.contact-card {
  border: 1px solid rgba(246, 243, 238, 0.14);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-line {
  margin: 0 0 12px;
  color: rgba(246, 243, 238, 0.84);
}
.contact-line strong {
  color: #f6f3ee;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 243, 238, 0.14);
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: rgba(246, 243, 238, 0.7);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .two-col-list {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.site-footer {
  padding: 1rem 0;
  background: #eaeaea;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
