:root {
  --bg: #e4dcd5;
  --bg-alt: #dfd5cd;
  --ink: #241206;
  --ink-soft: #241206cc;
  --ink-muted: #24120699;
  --accent: #da734a;
  --footer: #3c240f;
  --line: #2412061f;
  --line-strong: #24120633;
  --serif: 'EB Garamond', 'Times New Roman', serif;
  --sans: 'Inter Display', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* === reusable === */
.serif { font-family: var(--serif); font-weight: 500; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 500; }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.mono-num { font-feature-settings: "tnum"; }

.section { padding: 100px 48px; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 48px; }
.container { max-width: 1440px; margin: 0 auto; }

/* === navigation === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 48px; z-index: 100;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 10px;
  cursor: pointer;
}
.nav__brand-mark {
  display: inline-block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  transform: translateY(2px);
  animation: spin 18s linear infinite;
}
@keyframes spin {
  from { transform: translateY(2px) rotate(0deg); }
  to { transform: translateY(2px) rotate(360deg); }
}
.nav__links {
  display: flex; gap: 0; align-items: center;
  font-size: 15px; font-weight: 400;
}
.nav__links button {
  padding: 8px 18px;
  position: relative;
  transition: color 0.2s ease;
}
.nav__links button:hover { color: var(--accent); }
.nav__links button.is-active { color: var(--accent); }
.nav__links button.is-active::after {
  content: ''; position: absolute; bottom: 0; left: 18px; right: 18px; height: 1px; background: var(--accent);
}
.nav__sep { color: var(--ink-muted); font-size: 13px; }

.nav__cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent); color: var(--bg);
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
  box-shadow: 0 0 0 0 rgba(218, 115, 74, 0);
}
.nav__cta-arrow:hover {
  background: var(--ink);
  transform: rotate(-12deg) scale(1.08);
  box-shadow: 0 0 0 6px rgba(218, 115, 74, 0.18);
}
.nav__cta-arrow svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__cta-arrow:hover svg {
  transform: translate(2px, -2px);
}

/* === hero === */
.hero { padding: 140px 48px 56px; position: relative; }
.hero__meta-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 56px;
}
.hero__location {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.hero__location::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.hero__year { font-size: 13px; letter-spacing: 0.12em; font-weight: 500; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 1400px;
}
.hero__title .word-italic { font-style: italic; font-weight: 600; }
.hero__title .word-rule {
  display: inline-block; width: 0.7em; height: 0.07em; background: var(--ink);
  vertical-align: 0.22em; margin: 0 0.18em;
}

.hero__sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 40px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__cta-link {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: start; justify-self: start;
  transition: all 0.25s ease;
  font-weight: 500;
}
.hero__cta-link:hover { color: var(--accent); border-color: var(--accent); }
.hero__lede {
  font-size: 17px; line-height: 1.55; max-width: 380px; color: var(--ink-soft);
}
.hero__thumb {
  position: relative; aspect-ratio: 16/10;
  border-radius: 4px; overflow: hidden;
  background: var(--bg-alt);
}
.hero__thumb-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
}

/* === hero image === */
.hero__image-wrap { position: relative; }
.hero__image {
  width: 100%; aspect-ratio: 16/8;
  border-radius: 6px; overflow: hidden;
  position: relative;
}
.hero__image-strip {
  position: absolute; bottom: 18px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--bg); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 2;
  font-weight: 500;
}
.hero__image-strip-right { display: flex; gap: 22px; align-items: center; }
.hero__image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, #00000044 0%, transparent 35%);
}

.hero__nav-row {
  display: flex; justify-content: space-between; padding-top: 14px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* === intro / about === */
.intro {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: start;
}
.intro__big {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 500;
  max-width: 900px;
}
.intro__big .italic { font-style: italic; font-weight: 500; }
.intro__side { display: flex; flex-direction: column; gap: 28px; }
.intro__side-text { font-size: 16px; line-height: 1.6; max-width: 380px; color: var(--ink-soft); }
.intro__side-img {
  margin-top: 12px;
  aspect-ratio: 4/3; border-radius: 4px; overflow: hidden;
}
.intro__bottom-row {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.section-tag {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.section-tag::before {
  content: ''; width: 8px; height: 1px; background: var(--ink);
}

.text-link {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: all 0.25s ease;
  cursor: pointer;
  font-weight: 500;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link .arrow { transition: transform 0.25s ease; }
.text-link:hover .arrow { transform: translate(2px, -2px); }

/* === section header === */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
}
.sec-head__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 760px;
}
.sec-head__title .italic { font-style: italic; font-weight: 500; }
.sec-head__right {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}

/* === services === */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line-strong);
}
.service-card {
  padding: 36px 32px 28px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex; flex-direction: column; min-height: 360px;
  position: relative;
  transition: background 0.3s ease;
  cursor: pointer;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:hover { background: color-mix(in oklab, var(--accent) 6%, transparent); }
.service-card__num {
  font-family: var(--serif);
  font-size: 14px; font-style: italic;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.service-card__title {
  font-family: var(--serif);
  font-size: 32px; line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.service-card__desc {
  margin-top: auto; padding-top: 24px;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
  max-width: 340px;
}
.service-card__arrow {
  margin-top: 20px;
  width: 36px; height: 36px;
  background: var(--accent); color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.service-card:hover .service-card__arrow { transform: rotate(-45deg); }

/* === featured banner (insight) === */
.banner {
  position: relative;
  min-height: 540px;
  border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--bg);
}
.banner::before { content: ''; position: absolute; inset: 0; background: #00000033; }
.banner__inner { position: relative; z-index: 1; padding: 60px 32px; }
.banner__tag {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; margin-bottom: 12px;
  font-weight: 500;
}
.banner__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 500;
  max-width: 820px; margin: 0 auto;
}

/* === project cards === */
.projects-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.project-card {
  position: relative;
  cursor: pointer;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.project-card__media {
  aspect-ratio: 4/3;
  border-radius: 6px; overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.project-card__media-inner {
  width: 100%; height: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card__media-inner { transform: scale(1.04); }
.project-card__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--bg); color: var(--ink);
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.project-card__hover-cta {
  position: absolute; bottom: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(8px, 8px);
  transition: all 0.3s ease;
}
.project-card:hover .project-card__hover-cta { opacity: 1; transform: translate(0,0); }

.project-card__info {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 18px 4px 0;
}
.project-card__title {
  font-family: var(--serif);
  font-size: 28px; line-height: 1.12; letter-spacing: -0.01em;
  font-weight: 500;
}
.project-card__title .italic { font-style: italic; font-weight: 500; }
.project-card__meta {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  font-weight: 500;
}
.project-card__meta-loc { display: block; }
.project-card__meta-year { display: block; margin-top: 4px; color: var(--ink); }

/* === stats / spec table === */
.spec {
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
  align-items: start;
}
.spec__image {
  aspect-ratio: 5/6; border-radius: 6px; overflow: hidden;
}
.spec__content {
  padding-top: 12px;
}
.spec__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.04; letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 40px;
}
.spec__title .italic { font-style: italic; font-weight: 500; }
.spec__table { width: 100%; }
.spec__row {
  display: flex; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.spec__row dt { color: var(--ink-soft); }
.spec__row dd { font-weight: 500; }

/* === closing CTA === */
.closing {
  padding: 120px 48px 160px;
  position: relative; overflow: hidden;
}
.closing__title {
  font-family: var(--serif);
  font-size: clamp(60px, 9vw, 160px);
  line-height: 0.95; letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 1100px;
}
.closing__title .italic { font-style: italic; font-weight: 500; }
.closing__cta-wrap {
  margin-top: 56px; display: flex; justify-content: space-between; align-items: flex-end;
}
.closing__big-arrow {
  width: 80px; height: 80px;
  border-radius: 50%; background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s ease;
}
.closing__big-arrow:hover { transform: rotate(-45deg) scale(1.05); }
.closing__bg-mark {
  position: absolute; right: -40px; bottom: -80px;
  font-family: var(--serif); font-style: italic;
  font-size: 320px; color: color-mix(in oklab, var(--ink) 6%, transparent);
  line-height: 1; pointer-events: none;
}

/* === footer === */
.footer {
  background: var(--footer); color: #e4dcd5;
  padding: 80px 48px 32px;
  position: relative; overflow: hidden;
}
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid #ffffff1f;
}
.footer__brand-block { max-width: 360px; }
.footer__brand {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
  color: #e4dcd5;
}
.footer__ordre {
  width: 200px;
  height: auto;
  display: block;
  margin-top: 24px;
  opacity: 0.85;
}
.footer__brand-logo {
  height: 90px;
  width: auto;
  display: block;
}
.footer__brand-mark {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  display: inline-block;
  animation: spin-slow 22s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.footer__tag {
  font-family: var(--serif); font-style: italic;
  font-size: 20px; line-height: 1.4;
  font-weight: 500;
  color: #e4dcd5cc;
}
.footer__col-title {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  color: #e4dcd577; margin-bottom: 20px;
}
.footer__col-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col-list a { color: #e4dcd5; cursor: pointer; transition: color 0.2s; }
.footer__col-list a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; font-size: 13px; color: #e4dcd577;
}
.footer__big-mark {
  position: absolute; bottom: -60px; left: -20px; right: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(180px, 24vw, 360px);
  line-height: 0.85;
  color: #ffffff0c;
  letter-spacing: -0.03em;
  pointer-events: none;
  white-space: nowrap;
}

/* === arrow icon === */
.arrow-ne {
  display: inline-block; width: 14px; height: 14px;
}

/* === reveal animation === */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}

/* === page transitions === */
.page-enter {
  animation: pageEnter 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === scroll carousel arrows === */
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.carousel-arrows button:hover { background: var(--accent); }
.carousel-arrows button:disabled { opacity: 0.35; cursor: not-allowed; }

/* === projects index page === */
.page-head {
  padding: 160px 48px 56px;
}
.page-head__row {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.page-head__title {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.92; letter-spacing: -0.025em;
  font-weight: 500;
}
.page-head__title .italic { font-style: italic; font-weight: 500; }
.page-head__count {
  font-family: var(--serif); font-style: italic;
  font-size: 20px; color: var(--ink-muted);
  font-weight: 500;
}

.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 28px 48px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.projects-list {
  padding: 48px;
}
.projects-list-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px;
}
.projects-list-grid .project-card:nth-child(7n+1),
.projects-list-grid .project-card:nth-child(7n+4) {
  grid-column: span 2;
}
.projects-list-grid .project-card:nth-child(7n+1) .project-card__media,
.projects-list-grid .project-card:nth-child(7n+4) .project-card__media {
  aspect-ratio: 16/9;
}

/* === project detail === */
.detail-head {
  padding: 140px 48px 24px;
}
.detail-back {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  cursor: pointer;
  font-weight: 500;
}
.detail-back:hover { color: var(--accent); }

.detail-title {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.92; letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 36px;
}
.detail-title .italic { font-style: italic; font-weight: 500; }
.detail-meta-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-meta-row > div { display: flex; flex-direction: column; gap: 6px; }
.detail-meta-row dt {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.detail-meta-row dd {
  font-family: var(--serif);
  font-size: 24px; line-height: 1.15;
  font-weight: 500;
}

.detail-hero {
  padding: 32px 48px 0;
}
.detail-hero__img {
  aspect-ratio: 16/9; border-radius: 6px; overflow: hidden;
}

.detail-body {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
}
.detail-body__lede {
  font-family: var(--serif);
  font-size: 30px; line-height: 1.22;
  letter-spacing: -0.005em;
  font-weight: 500;
}
.detail-body__lede .italic { font-style: italic; font-weight: 500; }
.detail-body__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
}
.detail-body__cols p + p { margin-top: 14px; }
.detail-body__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}
.detail-body__link:hover { opacity: 0.7; }

.detail-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.detail-gallery__cell {
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 4/5;
}
.detail-gallery__cell.wide { grid-column: span 2; aspect-ratio: 16/9; }
.detail-gallery__cell.is-plan {
  grid-column: span 2;
  aspect-ratio: auto;
  height: auto;
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
}
.detail-gallery__cell.is-plan img {
  height: auto !important;
  max-height: 1100px;
  margin: 0 auto;
}

/* === contact page === */
.contact-head {
  padding: 160px 48px 40px;
}
.contact-head__title {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.92; letter-spacing: -0.025em;
  font-weight: 500;
}
.contact-head__title .italic { font-style: italic; font-weight: 500; }
.contact-head__sub {
  margin-top: 28px;
  font-family: var(--serif); font-style: italic;
  font-size: 26px; line-height: 1.32;
  font-weight: 500;
  max-width: 720px; color: var(--ink-soft);
}

.contact-body {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info__block { display: flex; flex-direction: column; gap: 8px; }
.contact-info__label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.contact-info__val {
  font-family: var(--serif);
  font-size: 24px; line-height: 1.3;
  font-weight: 500;
}
.contact-info__val a { border-bottom: 1px solid var(--line); transition: border-color 0.2s; cursor: pointer; }
.contact-info__val a:hover { border-color: var(--accent); color: var(--accent); }
.contact-info__map {
  margin-top: 20px;
  aspect-ratio: 4/3; border-radius: 6px; overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: none; border-bottom: 1px solid var(--line-strong);
  padding: 14px 0;
  font-family: var(--sans); font-size: 18px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent); }
.field.has-error input,
.field.has-error textarea { border-color: #c0392b; }
.field__error {
  font-size: 12px; color: #c0392b; letter-spacing: 0.04em;
  margin-top: 2px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.2s;
  font-weight: 500;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
}

.form__submit {
  margin-top: 12px;
  background: var(--accent); color: var(--bg);
  padding: 20px 32px; border-radius: 999px;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
  align-self: start;
  transition: all 0.25s ease;
}
.form__submit:hover { background: var(--ink); }
.form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form__success {
  background: color-mix(in oklab, var(--accent) 14%, var(--bg));
  border: 1px solid var(--accent);
  padding: 32px;
  border-radius: 6px;
  font-family: var(--serif); font-size: 24px; line-height: 1.32;
  font-weight: 500;
}

/* === about page === */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.about-grid__img {
  aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
}
.about-grid__copy {
  font-family: var(--serif);
  font-size: 28px; line-height: 1.22;
  font-weight: 500;
  position: sticky; top: 110px;
}
.about-grid__copy p + p { margin-top: 22px; }
.about-grid__copy .italic { font-style: italic; font-weight: 500; }
.about-grid__copy .label {
  font-family: var(--sans); font-size: 12px; font-style: normal;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-muted);
  display: block; margin-bottom: 28px;
}

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card__img {
  aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
}
.team-card__name {
  font-family: var(--serif);
  font-size: 24px; line-height: 1.18;
  font-weight: 500;
  margin-top: 14px;
}
.team-card__role {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 4px;
}

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line-strong);
  margin-top: 60px;
}
.principle {
  padding: 36px 32px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.principle:nth-child(3n) { border-right: none; }
.principle__num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 24px;
}
.principle__title {
  font-family: var(--serif);
  font-size: 30px; line-height: 1.12; letter-spacing: -0.01em;
  font-weight: 500;
  margin-bottom: 14px;
}
.principle__title .italic { font-style: italic; font-weight: 500; }
.principle__desc {
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
  max-width: 340px;
}

/* === page-head logo (About page) === */
.page-head__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  text-align: right;
}
.page-head__logo img {
  width: clamp(120px, 14vw, 200px);
  height: auto;
  color: var(--ink);
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-head__logo:hover img {
  transform: scale(1.05) rotate(-2deg);
}

@media (max-width: 960px) {
  .page-head__logo { align-items: flex-start; text-align: left; }
  .page-head__logo img { width: 120px; }
}

/* === home page large logo mark (bottom-left) === */
.home-logo-mark {
  padding: 64px 48px 0;
  display: flex;
  justify-content: flex-start;
}
.home-logo-mark img {
  width: clamp(160px, 26vw, 340px);
  height: auto;
  color: var(--ink);
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-logo-mark:hover img {
  transform: scale(1.04) rotate(-2deg);
}
@media (max-width: 960px) {
  .home-logo-mark { padding: 48px 24px 0; }
}

/* === logo frame inside spec section (Home page) === */
.spec-logo-frame {
  width: 100%; height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.spec-logo-frame::before,
.spec-logo-frame::after {
  content: '';
  position: absolute;
  background: var(--accent);
  opacity: 0.85;
}
.spec-logo-frame::before {
  top: 22px; left: 22px;
  width: 28px; height: 1px;
}
.spec-logo-frame::after {
  top: 22px; left: 22px;
  width: 1px; height: 28px;
}
.spec-logo-frame__mark {
  width: clamp(220px, 70%, 380px);
  height: auto;
  position: relative;
  z-index: 1;
  color: var(--ink);
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-logo-frame:hover .spec-logo-frame__mark {
  transform: scale(1.04) rotate(-2deg);
}
.spec-logo-frame__flowericon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 8px;
}
.spec-logo-frame__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

/* === logo showcase (About page) === */
.logo-showcase {
  padding: 60px 48px 80px;
  display: flex; justify-content: center;
  position: relative;
}
.logo-showcase__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
  text-align: center;
  position: relative;
}
.logo-showcase__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.logo-showcase__mark {
  width: clamp(180px, 22vw, 280px);
  height: auto;
  color: var(--ink);
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo-showcase:hover .logo-showcase__mark {
  transform: scale(1.04) rotate(-2deg);
}
.logo-showcase__caption {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 480px;
  font-weight: 500;
}

/* === team detail cards (About page) === */
.team-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.team-detail {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.team-detail__img {
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}
.team-detail__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-detail__name {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.team-detail__role {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: -8px;
}
.team-detail__strengths {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.team-detail__strengths-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.strength-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.strength-chip {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
}
.team-detail__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.team-detail__quote .quote-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 42px;
  line-height: 0;
  vertical-align: -0.18em;
  margin-right: 6px;
  font-weight: 600;
}

/* === alumni grid (Sont venus chez nous) === */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
  max-width: 1200px;
}
.alumni-card__img {
  aspect-ratio: 1/1;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-alt);
  width: 160px;
  height: 160px;
}
.alumni-card__name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 500;
  margin-top: 14px;
}
.alumni-card__role {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 4px;
  font-style: italic;
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

@media (max-width: 960px) {
  .team-detail-grid { grid-template-columns: 1fr; }
  .team-detail { grid-template-columns: 1fr; }
  .team-detail__img { max-width: 280px; }
  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
  .alumni-card__img { width: 140px; height: 140px; }
}


.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-alt);
}
.marquee__track {
  display: inline-flex; gap: 80px;
  animation: marquee 50s linear infinite;
  font-family: var(--serif); font-size: 36px; font-style: italic;
  font-weight: 500;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 24px; }
.marquee__track .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === partners strip === */
.partners {
  padding: 56px 48px 72px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.partners__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.partners__count {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: var(--ink-muted);
  font-weight: 500;
}
.partners__count em { color: var(--ink); font-style: italic; font-weight: 600; }
.partners__track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.partners__track {
  display: inline-flex; align-items: center;
  gap: 80px;
  white-space: nowrap;
  animation: partners-scroll 60s linear infinite;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partners__track-wrap:hover .partners__track {
  animation-play-state: paused;
}
.partners__logo {
  flex: 0 0 auto;
  height: 64px;
  min-width: 110px;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1) brightness(0.42) contrast(1.15);
  opacity: 0.65;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.partners__logo img {
  max-height: 100%;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}
.partners__logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
/* logos on dark plate get inverted to read on the light strip */
.partners__logo.is-dark {
  filter: invert(1) grayscale(1) brightness(0.42) contrast(1.15);
}
.partners__logo.is-dark:hover {
  filter: invert(1);
}
.partners__fade {
  position: absolute; top: 0; bottom: 0; width: 120px;
  pointer-events: none; z-index: 2;
}
.partners__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.partners__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* === Think — Philosophie === */
.think-philo {
  position: relative;
  overflow: hidden;
  background: var(--footer);
  color: #e4dcd5;
  padding: 72px 48px 64px;
}
.think-philo__bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.think-philo__ghost {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(200px, 30vw, 480px);
  line-height: 1;
  color: #ffffff09;
  letter-spacing: -0.04em;
  user-select: none;
}
.think-philo__inner { position: relative; z-index: 1; }
.think-philo__head { margin-bottom: 36px; }
.think-philo__head .section-tag { color: #e4dcd5; }
.think-philo__head .section-tag::before { background: var(--accent); width: 28px; height: 1px; }

.think-philo__anim {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 24px;
  min-height: 220px;
  justify-content: center;
}
.think-philo__en {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: tp-up 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.think-philo__tag {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.think-philo__phrase {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.think-philo__card {
  background: #ffffff12;
  border: 1px solid #ffffff22;
  border-radius: 999px;
  padding: 14px 32px;
  animation: tp-up 0.6s cubic-bezier(0.22,1,0.36,1) 0.14s both;
}
.think-philo__fr {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 24px);
  color: #e4dcd5;
}
@keyframes tp-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.think-philo__progress {
  display: flex; gap: 8px; margin-top: 44px; justify-content: center;
}
.think-philo__pip {
  width: 30px; height: 2px; background: #ffffff26;
  cursor: pointer;
  transition: background 0.3s ease;
}
.think-philo__pip:hover { background: #ffffff55; }
.think-philo__pip.is-active { background: var(--accent); }

/* responsive */
@media (max-width: 960px) {
  .think-philo { padding: 56px 24px 52px; }
  .think-philo__anim { min-height: 0; }
}

/* responsive */
@media (max-width: 960px) {
  .hero, .section, .page-head, .closing, .contact-head, .detail-head { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 16px 24px; }
  .hero__sub-row { grid-template-columns: 1fr; gap: 20px; }
  .intro, .spec, .contact-body, .detail-body, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .principles, .team-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid, .projects-list-grid, .detail-gallery { grid-template-columns: 1fr; }
  .projects-list-grid .project-card { grid-column: span 1 !important; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-meta-row { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
