@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;700;800&display=swap");

/* ID TAKUMI — sistema visual: fundamentos, componentes, páginas y estados. */
:root {
  --font-ui: "Manrope", Arial, Helvetica, sans-serif;
  --font-editorial: "Instrument Serif", Georgia, "Times New Roman", serif;
  --paper: #f6f2ea;
  --paper-soft: #fcfaf5;
  --surface: #fffdf8;
  --surface-muted: #e5dfd5;
  --stone: #d8d0c3;
  --ink: #11110f;
  --ink-soft: #625f57;
  --charcoal: #11110f;
  --charcoal-soft: #1b1b18;
  --champagne: #b79a63;
  --gold-deep: #8f7448;
  --gold-text: #80653b;
  --gold-light: #d4bc89;
  --gold: var(--champagne);
  --gold-dark: var(--gold-text);
  --gold-soft: #ebe2d3;
  --metal-gradient: linear-gradient(120deg, #8f7448 0%, #d4bc89 48%, #a98b59 100%);
  --line: #d8d0c3;
  --line-dark: rgba(255, 254, 250, 0.14);
  --success: #2f6e59;
  --danger: #963c35;
  --warning-bg: #fff6e7;
  --warning-border: #e6c68f;
  --radius-sm: 0.75rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 64px rgba(17, 17, 15, 0.075);
  --shadow-lift: 0 38px 100px rgba(17, 17, 15, 0.14);
  --container: 1240px;
  --header-height: 96px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Aliases kept for existing inline references. */
  --color-bg: var(--paper);
  --color-surface: var(--surface);
  --color-dark: var(--ink);
  --color-text: #34342f;
  --color-muted: var(--ink-soft);
  --color-primary: var(--gold);
  --color-primary-dark: var(--gold-dark);
  --color-secondary: var(--gold);
  --color-border: var(--line);
  --color-success: var(--success);
  --color-danger: var(--danger);
  --color-warning-bg: var(--warning-bg);
  --color-warning-border: var(--warning-border);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open { overflow: hidden; }

::selection { background: var(--gold-soft); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--gold-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  margin-bottom: 1.45rem;
  font-size: clamp(3rem, 7vw, 6.35rem);
}

h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 4.8vw, 4rem); }
h3 { margin-bottom: 0.75rem; font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { text-wrap: pretty; }

.display-serif {
  color: inherit;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero .display-serif { color: var(--gold-deep); }

.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2.5rem), 840px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

/* Header and wordmark */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  padding: 0.78rem 0;
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 100;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  background: rgba(13, 13, 12, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.075), 0 18px 50px rgba(13, 13, 12, 0.16);
  pointer-events: auto;
  transition: min-height 260ms var(--ease-out), padding 260ms var(--ease-out), background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms var(--ease-out);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
}

.site-header.is-scrolled .header-inner {
  min-height: 62px;
  padding-block: 0.38rem;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(13, 13, 12, 0.985);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 20px 54px rgba(13, 13, 12, 0.22);
  transform: translateY(-3px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand:hover { color: var(--ink); }
.brand-copy { display: grid; }
.brand-text { font-size: 0.94rem; white-space: nowrap; }

.site-header .brand,
.site-header .brand:hover { color: #fffdf8; }

.site-header .brand-text { letter-spacing: 0.14em; }

.brand-tagline {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--paper-soft), var(--paper-soft)) padding-box, var(--metal-gradient) border-box;
  color: var(--gold-text);
  font-size: 0;
  letter-spacing: 0;
}

.brand-mark::before {
  content: "匠";
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  font-weight: 400;
}

.site-header .brand-mark {
  border-color: rgba(212, 188, 137, 0.5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  color: var(--gold-light);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.52rem 0.7rem;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scaleX(0.2);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] { color: #fffdf8; }

.nav-link:hover::after,
.nav-link[aria-current="page"]::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
.nav-cta { margin-left: 0.35rem; }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #fffdf8;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(4.5px); }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { transform: translateY(1px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { transform: translateY(-0.5px) rotate(-45deg); }
.mobile-backdrop { display: none; }

.site-header .nav-cta .button {
  min-height: 44px;
  padding-inline: 1.3rem;
  border-color: #fff;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #11110f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 7px 24px rgba(255, 255, 255, 0.14), inset 0 1px rgba(255, 255, 255, 0.9);
}

.site-header .nav-cta .button:hover {
  border-color: #fff;
  background: #fff;
  color: #11110f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.48), 0 10px 30px rgba(255, 255, 255, 0.2), inset 0 1px #fff;
  transform: translateY(-2px) scale(1.015);
}

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid rgba(183, 154, 99, 0.54);
  border-radius: 0.45rem;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 190ms var(--ease-out), background-color 190ms ease, color 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.button::after {
  content: "↗";
  font-size: 0.9em;
  font-weight: 500;
  transition: transform 190ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  background: #191916;
  color: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 16px 34px rgba(17, 17, 15, 0.16);
}

.button:hover::after { transform: translate(3px, -3px); }

.button-secondary {
  border-color: rgba(143, 116, 72, 0.36);
  background: rgba(255, 253, 248, 0.54);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--gold-deep);
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.button-dark { background: var(--ink); }
.button-small { min-height: 44px; padding: 0.62rem 0.95rem; font-size: 0.82rem; }

.button-text {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.42rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.button-text::after { content: "↗"; transition: transform 180ms var(--ease-out); }
.button-text:hover::after { transform: translate(3px, -3px); }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 9.5rem) 0 clamp(6rem, 9vw, 8rem);
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -22rem;
  right: -13rem;
  width: 50rem;
  height: 50rem;
  background: radial-gradient(circle, rgba(183, 154, 99, 0.14), transparent 69%);
}

.hero::after {
  bottom: -27rem;
  left: -18rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(183, 154, 99, 0.18);
}

.hero-photo {
  min-height: min(960px, calc(100svh - var(--header-height)));
  background:
    linear-gradient(rgba(143, 116, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 116, 72, 0.035) 1px, transparent 1px),
    linear-gradient(125deg, rgba(255, 253, 248, 0.62), transparent 58%),
    var(--paper);
  background-size: 86px 86px, 86px 86px, auto, auto;
}

.hero-photo-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-photo-layout::before {
  position: absolute;
  top: -12vh;
  bottom: -12vh;
  left: 43.5%;
  width: 1px;
  background: linear-gradient(transparent, rgba(183, 154, 99, 0.24) 22%, rgba(183, 154, 99, 0.24) 78%, transparent);
  content: "";
  pointer-events: none;
}

.hero-photo-content { max-width: 660px; padding-block: 2rem; }
.hero-photo h1 { margin-bottom: 1.65rem; font-size: clamp(3.5rem, 6.7vw, 6.65rem); line-height: 0.99; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before { width: 1.8rem; height: 1px; background: var(--metal-gradient); content: ""; }

.hero-copy {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

.hero-note { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: 0.86rem; }
.hero-showcase { position: relative; min-height: 680px; isolation: isolate; }

.hero-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 6% 6% 10% 4%;
  border: 1px solid rgba(183, 154, 99, 0.2);
  border-radius: 0.35rem;
  background: radial-gradient(circle at 72% 27%, rgba(183, 154, 99, 0.12), transparent 35%);
  content: "";
  transform: rotate(-1deg);
}

.hero-showcase::after {
  position: absolute;
  z-index: 9;
  top: 2%;
  left: 1%;
  color: rgba(128, 101, 59, 0.65);
  content: "+";
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.hero-project {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--metal-gradient) border-box;
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  text-decoration: none;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.hero-project:hover { z-index: 8; color: var(--ink); box-shadow: 0 34px 90px rgba(35, 31, 24, 0.19); }

.hero-project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.hero-project-main { z-index: 3; top: 17%; left: 0; width: 78%; transform: rotate(-0.8deg); }
.hero-project-main:hover { transform: rotate(-0.25deg) translateY(-6px); }
.hero-project-secondary { z-index: 4; top: 2%; right: 0; width: 43%; transform: rotate(0.9deg); }
.hero-project-secondary:hover { transform: rotate(0.35deg) translateY(-6px); }
.hero-project-tertiary { z-index: 5; right: 1%; bottom: 3%; width: 47%; transform: rotate(-0.55deg); }
.hero-project-tertiary:hover { transform: rotate(-0.15deg) translateY(-6px); }

.hero-browser-bar {
  display: flex;
  height: 26px;
  align-items: center;
  gap: 0.28rem;
  padding-inline: 0.4rem;
  border-bottom: 1px solid rgba(143, 116, 72, 0.18);
  background: var(--paper-soft);
}

.hero-browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }

.hero-project-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.4rem 0.8rem 0.75rem;
  background: linear-gradient(transparent, rgba(24, 25, 21, 0.88));
  color: var(--surface);
  font-size: 0.76rem;
}

.hero-project-caption strong,
.hero-project-caption small { display: block; }

.hero-project-caption small {
  color: rgba(255, 254, 250, 0.74);
  font-size: 0.62rem;
  text-align: right;
}

.hero-capabilities {
  position: absolute;
  z-index: 10;
  right: 1rem;
  bottom: -2.6rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--gold-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-capabilities span { display: inline-flex; align-items: center; }
.hero-capabilities span + span::before { margin-inline: 0.8rem; color: var(--champagne); content: "+"; font-weight: 400; }

.trust-strip {
  padding: 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.54);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 72px;
  padding: 1rem 1.2rem;
  border-left: 1px solid rgba(143, 116, 72, 0.18);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-list li:last-child { border-right: 1px solid rgba(143, 116, 72, 0.18); }

.check-dot {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(165, 132, 80, 0.45);
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 0.7rem;
}

.trust-list .check-dot { display: none; }

/* Sections and flexible layouts */
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-white { background: var(--surface); }

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: #c7c3b9;
}

.section-dark::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(183, 154, 99, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 154, 99, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 85% 18%, rgba(183, 154, 99, 0.09), transparent 32%);
  background-size: 112px 112px, 112px 112px, auto;
  content: "";
  pointer-events: none;
}

.section-dark::after {
  position: absolute;
  right: -12rem;
  bottom: -16rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(183, 154, 99, 0.24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.section-dark h2,
.section-dark h3 { color: var(--paper-soft); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark > .container { position: relative; z-index: 1; }

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(143, 116, 72, 0.2);
}

.section-heading { max-width: 760px; }

.section-heading p,
.lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.13rem);
}

.section-dark .section-heading p,
.section-dark .lead { color: #aba79d; }

.grid-2,
.grid-3,
.grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.card {
  height: 100%;
  padding: clamp(1.45rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(35, 31, 24, 0.02);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  border-color: rgba(165, 132, 80, 0.55);
  box-shadow: 0 18px 54px rgba(17, 17, 15, 0.055);
}

.card p:last-child,
.card ul:last-child { margin-bottom: 0; }

.icon-tile {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border: 1px solid rgba(143, 116, 72, 0.34);
  border-radius: 0.2rem;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.72), rgba(216, 208, 195, 0.3));
  color: var(--gold-text);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Services and bento layouts */
.service-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
}

.service-card p { color: var(--ink-soft); }
.service-card .button-text { margin-top: auto; align-self: flex-start; }

.service-card .service-price {
  margin: -0.25rem 0 0.8rem;
  color: var(--gold-dark);
  font-size: 0.96rem;
  font-weight: 800;
}

.home-service-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.home-service-grid .service-card:nth-child(1),
.home-service-grid .service-card:nth-child(4) { grid-column: span 7; }

.home-service-grid .service-card:nth-child(2),
.home-service-grid .service-card:nth-child(3) { grid-column: span 5; }

.home-service-grid .service-card:nth-child(1) {
  background: linear-gradient(145deg, var(--surface), #f1eadf);
}

.home-service-grid .service-card:nth-child(3) { background: linear-gradient(145deg, rgba(255, 253, 248, 0.72), rgba(216, 208, 195, 0.24)); }
.home-service-grid .service-card:nth-child(3) h3 { color: var(--ink); }
.home-service-grid .service-card:nth-child(3) p { color: var(--ink-soft); }

.home-service-grid .service-card:nth-child(3) .icon-tile {
  border-color: rgba(143, 116, 72, 0.34);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.72), rgba(216, 208, 195, 0.3));
  color: var(--gold-text);
}

.home-service-grid .service-card:nth-child(3) .button-text,
.home-service-grid .service-card:nth-child(3) .service-price { color: var(--gold-text); }

.service-feature-list {
  display: grid;
  gap: 0.58rem;
  margin: 0 0 1.55rem;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
}

.service-feature-list li::before {
  flex: 0 0 auto;
  color: var(--gold-dark);
  content: "✓";
  font-weight: 800;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 72px;
  padding: 1.05rem 1.1rem 1.05rem 0;
  border-top: 1px solid rgba(143, 116, 72, 0.22);
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.benefit-list li:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(143, 116, 72, 0.22); }
.benefit-list .check-dot { border: 0; background: transparent; color: var(--gold-text); }

/* Process */
.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 245px;
  padding: 2rem 1.6rem 2.2rem;
  border-top: 1px solid rgba(212, 188, 137, 0.24);
  border-left: 1px solid rgba(212, 188, 137, 0.15);
  background: transparent;
  counter-increment: process;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background-color 220ms ease;
}

.process-list li:hover {
  border-color: rgba(212, 188, 137, 0.38);
  background: linear-gradient(180deg, rgba(183, 154, 99, 0.06), transparent 62%);
}

.process-list li::before {
  display: block;
  margin-bottom: 2.7rem;
  color: var(--gold-light);
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-editorial);
  font-size: 2.45rem;
  line-height: 1;
}

.process-list strong { display: block; margin-bottom: 0.45rem; color: var(--paper-soft); }
.process-list span { color: #aaa69c; font-size: 0.88rem; }

/* Projects */
.project-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: transform 240ms var(--ease-out), border-color 240ms ease, box-shadow 240ms ease;
}

.project-card:hover {
  transform: none;
  box-shadow: none;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(143, 116, 72, 0.22);
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 72% 22%, rgba(183, 154, 99, 0.16), transparent 36%),
    linear-gradient(145deg, #ebe5db, #d8d0c3);
}

.project-capture { min-height: 0; padding: clamp(1rem, 3vw, 2.2rem); aspect-ratio: 16 / 10; }

.project-capture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(17, 17, 15, 0.1);
  box-shadow: 0 28px 70px rgba(17, 17, 15, 0.16);
  transition: transform 420ms var(--ease-out);
}

.project-card:hover .project-capture:not([data-motion-expand]):not([data-motion-parallax]) img { transform: translateY(-4px) scale(1.018); }

.has-gsap [data-motion-expand],
.has-gsap [data-motion-parallax] { transform-origin: center; }

.has-gsap [data-motion-expand] img,
.has-gsap [data-motion-parallax] img,
.has-gsap [data-motion-hero] .hero-project img { transition: none; }

.project-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.7rem 0.3rem 0;
}

.project-content p { color: var(--ink-soft); }
.project-content .button-text { margin-top: auto; align-self: flex-start; }

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.33rem 0.62rem;
  border: 1px solid rgba(47, 110, 89, 0.18);
  border-radius: var(--radius-pill);
  background: #edf4ee;
  color: #315c4b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-demo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-text);
}

.details-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.home-portfolio { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.6rem); }
.home-portfolio .project-card:nth-child(1) { grid-column: span 7; }
.home-portfolio .project-card:nth-child(2) { grid-column: span 5; }

.home-portfolio .project-card:nth-child(3) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid rgba(143, 116, 72, 0.22);
}

.home-portfolio .project-card:nth-child(3) .project-capture { min-height: 365px; aspect-ratio: auto; }

.portfolio-editorial {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2.5rem;
}

.projects-page .portfolio-editorial .project-card,
.portfolio-editorial .project-card:first-child {
  display: grid;
  grid-column: auto;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(143, 116, 72, 0.22);
}

.portfolio-editorial .project-card:first-child .project-capture { min-height: 500px; aspect-ratio: auto; }

.projects-page .portfolio-editorial .project-card:nth-child(even) {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.55fr);
}

.projects-page .portfolio-editorial .project-card:nth-child(even) .project-capture { order: 2; }
.projects-page .portfolio-editorial .project-card:nth-child(even) .project-content { order: 1; }

.projects-page .portfolio-editorial .project-capture {
  min-height: 480px;
  aspect-ratio: auto;
}

.project-card.reveal-ready .project-capture {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 880ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.project-card.reveal-ready.is-revealed .project-capture { clip-path: inset(0); }

/* FAQ and calls to action */
.faq-list { display: grid; gap: 0.75rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 254, 250, 0.76);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.faq-item[open] { border-color: rgba(165, 132, 80, 0.48); background: var(--surface); }

.faq-item summary {
  position: relative;
  padding: 1.15rem 3.3rem 1.15rem 1.25rem;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  color: var(--gold-dark);
  content: "+";
  font-family: var(--font-editorial);
  font-size: 1.65rem;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  max-width: 800px;
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-soft);
}

.home-page .faq-list { gap: 0; border-top: 1px solid rgba(143, 116, 72, 0.24); }

.home-page .faq-item {
  border: 0;
  border-bottom: 1px solid rgba(143, 116, 72, 0.24);
  border-radius: 0;
  background: transparent;
}

.home-page .faq-item[open] { border-color: rgba(143, 116, 72, 0.34); background: transparent; }
.home-page .faq-item summary { padding-block: 1.45rem; }

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.3rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(165, 132, 80, 0.25);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  color: #c8c4ba;
}

.cta-panel h2 { max-width: 760px; margin-bottom: 0.7rem; color: var(--paper-soft); }
.cta-panel p { max-width: 720px; margin-bottom: 0; }

.cta-panel .button {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.cta-panel .button:hover { border-color: #d4b987; background: #d4b987; }

.cta-panel .button-secondary {
  border-color: rgba(255, 254, 250, 0.34);
  background: transparent;
  color: var(--surface);
}

.cta-panel-open {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border: 0;
  border-block: 1px solid rgba(143, 116, 72, 0.26);
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
}

.cta-panel-open h2 { color: var(--ink); }
.cta-panel-open .button { border-color: rgba(183, 154, 99, 0.52); background: var(--ink); color: var(--paper); }

/* Interior-page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.2rem, 9vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 76%, rgba(143, 116, 72, 0.05) 76% 76.08%, transparent 76.08%),
    radial-gradient(circle at 84% 20%, rgba(183, 154, 99, 0.14), transparent 30%),
    linear-gradient(145deg, var(--paper-soft), var(--paper));
}

.page-hero::after {
  position: absolute;
  right: clamp(1.25rem, 8vw, 8rem);
  bottom: 0;
  width: min(18vw, 14rem);
  height: 42%;
  border-top: 1px solid rgba(143, 116, 72, 0.24);
  border-left: 1px solid rgba(143, 116, 72, 0.24);
  content: "";
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; font-size: clamp(3rem, 6.4vw, 5.7rem); }
.page-hero .lead { margin-bottom: 0; }

/* About */
.about-presentation {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
}

.about-presentation-text-only {
  position: relative;
  padding-block: clamp(1rem, 3vw, 2.5rem);
}

.about-presentation-text-only::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(44% + clamp(1rem, 3vw, 2.5rem));
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 16%, var(--line) 84%, transparent);
  content: "";
}

.about-presentation-heading h2 { max-width: 10ch; }
.about-presentation-heading .lead { max-width: 36ch; }
.about-presentation-body { max-width: 44rem; }
.about-presentation-body > p:first-child { margin-top: 0; }
.about-presentation-body .button { margin-top: 0.25rem; }
}

.editorial-quote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.5rem;
  border-left: 2px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-style: italic;
  line-height: 1.18;
}

.profile-photo { width: min(100%, 29rem); margin: 0; justify-self: center; }

.profile-photo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 48% 48% 1.5rem 1.5rem / 18% 18% 1.5rem 1.5rem;
  background: linear-gradient(150deg, transparent 35%, rgba(165, 132, 80, 0.12)), var(--surface-muted);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}

.profile-photo-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.profile-photo figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
}

.takumi-meaning {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: clamp(610px, 72vw, 780px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-left: calc(50% - 50vw);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(7rem, 12vw, 11rem) max(1.25rem, calc((100vw - var(--container)) / 2));
  overflow: hidden;
  border-block: 1px solid rgba(212, 188, 137, 0.2);
  border-radius: 0;
  background: var(--charcoal);
  box-shadow: none;
  color: #bbb7ad;
}

.takumi-meaning::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 23% 50%, rgba(183, 154, 99, 0.12), transparent 31%),
    linear-gradient(90deg, transparent 49.9%, rgba(212, 188, 137, 0.12) 50%, transparent 50.1%);
  content: "";
  pointer-events: none;
}

.takumi-meaning .eyebrow { margin-bottom: 1.6rem; color: var(--gold-light); }
.takumi-meaning h3 { margin-bottom: 1rem; color: var(--paper-soft); font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -0.02em; }
.takumi-meaning p { max-width: 680px; margin-bottom: 0; font-size: clamp(1rem, 1.5vw, 1.12rem); }

.takumi-copy { position: relative; z-index: 2; grid-column: 2; }

.takumi-copy::before {
  display: block;
  width: min(100%, 34rem);
  height: 1px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  background: var(--metal-gradient);
  content: "";
  opacity: 0.72;
}

.takumi-word {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--paper);
  font-family: var(--font-editorial);
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.78;
}

.takumi-character {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: max(0.5rem, calc((100vw - var(--container)) / 2 - 2rem));
  width: auto;
  border: 0;
  color: rgba(212, 188, 137, 0.12);
  font-family: var(--font-editorial);
  font-size: clamp(19rem, 37vw, 34rem);
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.takumi-meaning.reveal-ready {
  clip-path: inset(0 0 16% 0);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out), clip-path 980ms var(--ease-out);
}

.takumi-meaning.reveal-ready.is-revealed { clip-path: inset(0); }

.about-principles { gap: 0; border-block: 1px solid rgba(143, 116, 72, 0.24); }

.about-principles .card {
  padding: clamp(2.1rem, 4vw, 3.5rem);
  border: 0;
  border-left: 1px solid rgba(143, 116, 72, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-principles .card:last-child { border-right: 1px solid rgba(143, 116, 72, 0.2); }
.about-principles .card:hover { border-color: rgba(143, 116, 72, 0.32); box-shadow: none; }

.value-list,
.contact-list,
.legal-index { margin: 0; padding: 0; list-style: none; }
.value-list { display: grid; gap: 1rem; }
.value-list li { padding: 0.2rem 0 0.2rem 1.2rem; border-left: 1px solid var(--gold); }
.value-list strong { display: block; color: var(--ink); }
.section-dark .value-list strong,
.contact-card .value-list strong { color: var(--paper-soft); }

/* Contact and forms */
.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: clamp(1.7rem, 4vw, 2.65rem);
  border: 1px solid rgba(212, 185, 135, 0.18);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
  color: #c2beb4;
}

.contact-card h2,
.contact-card h3,
.contact-card a { color: var(--paper-soft); }

.contact-list { display: grid; gap: 1rem; margin-block: 1.5rem; }
.contact-list li { padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); }

.contact-list span {
  display: block;
  color: #aaa69c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-card {
  padding: clamp(1.6rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-group { min-width: 0; }
.form-group-full { grid-column: 1 / -1; }

.form-group label,
.form-legend {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.88rem;
  border: 1px solid #cfc6b7;
  border-radius: var(--radius-sm);
  background: #fffefa;
  color: var(--color-text);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

textarea { min-height: 155px; resize: vertical; }
input:hover,
select:hover,
textarea:hover { border-color: #aa9d89; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-dark);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(165, 132, 80, 0.16);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: var(--danger); background: #fff8f6; }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.7rem; }

.checkbox-row input {
  width: 1.2rem;
  min-height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--gold-dark);
}

.checkbox-row label { margin: 0; font-weight: 400; }

.field-error {
  min-height: 1.25rem;
  margin-top: 0.25rem;
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-status,
.error-summary {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-visible {
  display: block;
  border: 1px solid #96c0a8;
  background: #edf5ef;
  color: #275a46;
}

.error-summary.is-visible {
  display: block;
  border: 1px solid #daa49f;
  background: #fff2ef;
  color: #7e302b;
}

.privacy-layer {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: var(--paper-soft);
  color: #5d5a53;
  font-size: 0.8rem;
}

.privacy-layer p { margin-bottom: 0; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Legal, conditions and notices */
.notice {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-sm);
  background: var(--warning-bg);
  color: #795326;
  font-weight: 700;
}

.projects-page .notice {
  max-width: 900px;
  padding: 0.15rem 0 0.15rem 1.25rem;
  border: 0;
  border-left: 1px solid var(--gold-deep);
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
}

.legal-index { display: grid; gap: 0.5rem; }

.legal-index a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-decoration: none;
}

.legal-index a:hover { color: var(--gold-dark); }
.legal-content { max-width: 76ch; }

.legal-content section {
  padding-bottom: 2.7rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.legal-content h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }

.pending-data {
  padding: 0.9rem 1rem;
  border: 1px dashed #c79249;
  border-radius: var(--radius-sm);
  background: #fff8ec;
}

.legal-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 clamp(2rem, 4vw, 3.5rem);
}

.legal-status-grid h3 { margin-top: 0; font-size: 1.1rem; }
.legal-status-grid ul { margin-bottom: 0; padding-left: 1.2rem; }

.legal-review {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.conditions-content h3 { margin-top: 1.6rem; font-size: 1.2rem; }
.conditions-content ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; }

.conditions-summary {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.conditions-summary p { margin: 0; }
.conditions-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 1rem; }

/* Pricing */
.pricing-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.pricing-card,
.plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pricing-card > .tag { align-self: flex-start; margin-bottom: 1rem; }

.pricing-card-featured {
  border-color: rgba(165, 132, 80, 0.58);
  box-shadow: var(--shadow-soft);
}

.price-block {
  display: grid;
  gap: 0.2rem;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}

.price-prefix,
.price-tax { color: var(--ink-soft); font-size: 0.82rem; }

.price {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.price small { color: var(--ink-soft); font-size: 0.75rem; letter-spacing: 0; }
.price-options { display: grid; gap: 0.62rem; margin: 1.2rem 0; }

.price-options div {
  display: grid;
  grid-template-columns: minmax(5rem, 0.7fr) 1.3fr;
  align-items: baseline;
  gap: 0.1rem 0.75rem;
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.price-options strong { color: var(--ink); }
.price-options small { grid-column: 2; color: var(--ink-soft); }

.additional-price,
.delivery-time { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }

.additional-price span { display: block; color: var(--ink-soft); font-size: 0.82rem; }
.pricing-card .button,
.plan-card .button { width: 100%; margin-top: auto; }

.pricing-note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(165, 132, 80, 0.3);
  border-radius: var(--radius-sm);
  background: #f7f1e7;
  color: #554f45;
}

.compact-price-card { display: flex; flex-direction: column; }
.compact-price { display: block; margin: 0.25rem 0 0.75rem; color: var(--gold-dark); font-size: 1.15rem; }
.section-note { margin-top: 1.25rem; }
.plan-card { padding-top: 2.25rem; }
.plan-heading { display: flex; align-items: center; gap: 0.9rem; }
.plan-heading .icon-tile { flex: 0 0 auto; margin: 0; }
.plan-heading h3 { margin: 0; }

.plan-card-featured {
  border-color: var(--charcoal);
  background: var(--charcoal);
  box-shadow: var(--shadow-lift);
  color: #c3bfb5;
  transform: translateY(-0.45rem);
}

.plan-card-featured:hover { border-color: var(--gold); transform: translateY(-0.75rem); }

.plan-card-featured h3,
.plan-card-featured .price { color: var(--paper-soft); }

.plan-card-featured .price-tax,
.plan-card-featured .price small,
.plan-card-featured .service-feature-list,
.plan-card-featured .annual-rate span,
.plan-card-featured .annual-rate small { color: #aaa69c; }

.plan-card-featured .price-block { border-color: var(--line-dark); }
.plan-card-featured .annual-rate { background: rgba(255, 255, 255, 0.055); }

.plan-card-featured .button {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 1.25rem;
  padding: 0.42rem 0.78rem;
  border-radius: 0 0 0.65rem 0.65rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.annual-rate {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1.2rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.annual-rate span,
.annual-rate small { color: var(--ink-soft); font-size: 0.79rem; }
.maintenance-details,
.maintenance-extras { margin-top: 1.75rem; }
.maintenance-details .faq-item { height: fit-content; }
.maintenance-details .service-feature-list { margin: 1rem 1.25rem 1.25rem; }

.commercial-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.commercial-links p { max-width: 760px; margin: 0; }

/* Dialog */
.service-dialog {
  width: min(calc(100% - 2rem), 800px);
  max-height: min(88vh, 860px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

.service-dialog::backdrop { background: rgba(25, 26, 23, 0.76); backdrop-filter: blur(4px); }
.dialog-content { padding: clamp(1.6rem, 5vw, 2.8rem); }

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
}

.service-dialog-title { padding-right: 3rem; }
.service-dialog-description { max-width: 68ch; color: var(--ink-soft); font-size: 1.04rem; }

.service-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.service-dialog-grid section {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.service-dialog-grid section:first-child { grid-column: 1 / -1; }
.service-dialog-grid h3 { margin-bottom: 0.55rem; font-size: 1rem; }

.service-dialog-grid p,
.service-dialog-grid ul { margin-bottom: 0; color: var(--ink-soft); font-size: 0.9rem; }

.service-dialog-grid ul { padding-left: 1.15rem; }
.service-dialog-actions { padding-top: 0.25rem; }

/* Error page */
.not-found {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.not-found > div { max-width: 760px; }
.not-found .lead { margin-inline: auto; }
.not-found .button-row { justify-content: center; }

.error-code {
  margin-bottom: 0.35rem;
  color: var(--gold-dark);
  font-family: var(--font-editorial);
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

/* Footer */
.site-footer {
  position: relative;
  padding: clamp(6rem, 11vw, 10rem) 0 1.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(183, 154, 99, 0.4);
  background: var(--charcoal);
  color: #a9a59b;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 154, 99, 0.12), transparent 28%),
    linear-gradient(90deg, transparent 0 78%, rgba(212, 188, 137, 0.06) 78% 78.08%, transparent 78.08%);
  content: "";
  pointer-events: none;
}

.site-footer > .container { position: relative; z-index: 1; }

.site-footer a { color: #d8d3c8; }
.site-footer a:hover { color: var(--surface); }
.site-footer .brand { color: var(--surface); }
.site-footer .brand-mark {
  border-color: transparent;
  background: linear-gradient(var(--charcoal), var(--charcoal)) padding-box, var(--metal-gradient) border-box;
  color: var(--gold-light);
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 2.5rem;
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--line-dark);
}

.footer-cta h2 {
  max-width: 980px;
  margin-bottom: 1.2rem;
  color: var(--paper-soft);
  font-family: var(--font-editorial);
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.footer-cta p { max-width: 650px; margin: 0; }
.footer-cta .eyebrow { color: var(--gold-light); }

.footer-cta .button {
  justify-self: start;
  border-color: rgba(212, 188, 137, 0.66);
  background: #181815;
  color: var(--paper);
}

.footer-cta .button:hover { border-color: var(--gold-light); background: #20201c; color: var(--paper); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 0.82fr));
  gap: clamp(1.5rem, 3vw, 2.7rem);
  padding-bottom: 3rem;
}

.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 330px; }

.footer-title {
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.56rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  padding-right: 10.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
}

/* Floating contact */
.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: 1.2rem;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: 1.2rem;
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 254, 250, 0.58);
  border-radius: var(--radius-pill);
  background: #315f4e;
  box-shadow: 0 14px 34px rgba(35, 31, 24, 0.22);
  color: var(--surface);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #244b3c;
  color: var(--surface);
}

.whatsapp-icon {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
}

/* Utilities and reveal motion */
.small-print { color: var(--ink-soft); font-size: 0.8rem; }
.site-footer .small-print,
.plan-card-featured .small-print { color: #8f8b82; }
.centered { text-align: center; }
.centered .lead,
.centered .section-heading { margin-inline: auto; }

.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-revealed { opacity: 1; transform: translateY(0); }

.hero-photo-content.reveal-ready {
  clip-path: inset(0 0 18% 0);
  transform: translateY(34px);
  transition: opacity 720ms var(--ease-out), transform 820ms var(--ease-out), clip-path 920ms var(--ease-out);
}

.hero-photo-content.reveal-ready.is-revealed { clip-path: inset(0); transform: translateY(0); }

.hero-showcase.reveal-ready {
  clip-path: inset(0 10% 0 0);
  transform: translateX(24px);
  transition: opacity 780ms var(--ease-out), transform 900ms var(--ease-out), clip-path 1050ms var(--ease-out);
}

.hero-showcase.reveal-ready.is-revealed { clip-path: inset(0); transform: translateX(0); }

@media (hover: hover) and (pointer: fine) {
  .project-capture::after {
    position: absolute;
    z-index: 3;
    right: 1.1rem;
    bottom: 1.1rem;
    padding: 0.55rem 0.72rem;
    border: 1px solid rgba(212, 188, 137, 0.48);
    border-radius: 0.3rem;
    background: rgba(17, 17, 15, 0.86);
    color: var(--paper);
    content: "Ver proyecto ↗";
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 190ms ease, transform 190ms var(--ease-out);
    backdrop-filter: blur(8px);
  }

  .project-capture:hover::after,
  .project-capture:focus-visible::after { opacity: 1; transform: translateY(0); }

  .hero-project-secondary .hero-project-caption,
  .hero-project-tertiary .hero-project-caption {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 190ms ease, transform 190ms var(--ease-out);
  }

  .hero-project-secondary:hover .hero-project-caption,
  .hero-project-secondary:focus-visible .hero-project-caption,
  .hero-project-tertiary:hover .hero-project-caption,
  .hero-project-tertiary:focus-visible .hero-project-caption { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1160px) {
  .hero-photo-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 2rem;
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  :root { --header-height: 92px; }
  .menu-button { display: inline-flex; }

  .site-header.is-scrolled .header-inner { transform: none; }

  .site-nav {
    position: fixed;
    z-index: 110;
    top: calc(var(--header-height) - 0.2rem);
    right: 1.25rem;
    width: min(calc(100% - 2.5rem), 390px);
    max-height: calc(100vh - var(--header-height) - 1rem);
    max-height: calc(100dvh - var(--header-height) - 1rem);
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-lg);
    background: rgba(13, 13, 12, 0.985);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.065), 0 32px 80px rgba(13, 13, 12, 0.32);
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 180ms;
  }

  .site-nav.is-open { opacity: 1; transform: translateY(0) scale(1); visibility: visible; }
  .nav-list { align-items: stretch; flex-direction: column; }
  .nav-link { padding: 0.78rem 0.85rem; color: rgba(255, 253, 248, 0.76); font-size: 0.95rem; }
  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #fffdf8;
  }

  .nav-cta { margin: 0.7rem 0 0; }
  .nav-cta .button { width: 100%; }

  .mobile-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    background: rgba(13, 13, 12, 0.7);
    pointer-events: auto;
  }

  .mobile-backdrop.is-visible { display: block; }
  .hero-photo { min-height: auto; }
  .hero-photo-layout { grid-template-columns: 1fr; }
  .hero-photo-layout::before { display: none; }
  .hero-photo-content { max-width: 780px; }
  .hero-photo h1 { max-width: 820px; }

  .hero-showcase {
    width: min(100%, 760px);
    min-height: 590px;
    margin-inline: auto;
  }

  .split,
  .about-presentation { grid-template-columns: 1fr; }
  .about-presentation-text-only::before { display: none; }
  .about-presentation-heading h2,
  .about-presentation-heading .lead,
  .about-presentation-body { max-width: 48rem; }
  .contact-card { position: static; }
  .trust-list,
  .grid-4,
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card-featured { transform: none; }
  .plan-card-featured:hover { transform: translateY(-4px); }
  .portfolio-editorial .project-card:first-child { grid-template-columns: 1fr; }

  .portfolio-editorial .project-card:first-child .project-capture {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 780px) {
  :root { --header-height: 84px; }
  .container,
  .narrow { width: min(calc(100% - 2rem), var(--container)); }
  .site-header { padding: 0.55rem 0; }
  .header-inner { min-height: 62px; padding-left: 0.8rem; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .hero { padding-top: 4.5rem; }

  .hero-showcase {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-showcase::before { display: none; }

  .hero-project {
    position: relative;
    inset: auto;
    width: auto;
    border-width: 1px;
    border-radius: 0.45rem;
    transform: none;
  }

  .hero-project:hover,
  .hero-project-main:hover,
  .hero-project-secondary:hover,
  .hero-project-tertiary:hover { transform: translateY(-3px); }
  .hero-project-main { grid-column: 1 / -1; }
  .hero-project-caption small { display: none; }
  .hero-capabilities {
    position: static;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 0.4rem;
    line-height: 1.8;
  }
  .section { padding-block: 4.5rem; }

  .section-intro,
  .footer-bottom { align-items: flex-start; flex-direction: column; }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .trust-list,
  .benefit-list,
  .legal-layout,
  .footer-grid,
  .portfolio-editorial { grid-template-columns: 1fr; }

  .legal-status-grid { grid-template-columns: 1fr; }

  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-grid .service-card:nth-child(n) { grid-column: auto; }
  .home-portfolio { grid-template-columns: 1fr; }

  .home-portfolio .project-card:nth-child(n) {
    display: flex;
    grid-column: auto;
  }

  .home-portfolio .project-card:nth-child(3) .project-capture {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .portfolio-editorial .project-card:first-child {
    display: flex;
    grid-column: auto;
  }

  .projects-page .portfolio-editorial .project-card {
    display: flex;
    align-items: stretch;
    padding-block: 3.5rem;
  }

  .projects-page .portfolio-editorial .project-capture {
    min-height: 0;
    aspect-ratio: 16 / 10;
    order: 1;
  }

  .projects-page .portfolio-editorial .project-content { order: 2; }
  .projects-page .portfolio-editorial .project-card:nth-child(even) .project-capture { order: 1; }
  .projects-page .portfolio-editorial .project-card:nth-child(even) .project-content { order: 2; }
  .projects-page .project-content .button-text { margin-top: 1rem; }

  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; border-left: 0; }
  .process-list li::before { margin-bottom: 1.5rem; }
  .service-dialog-grid { grid-template-columns: 1fr; }
  .service-dialog-grid section:first-child { grid-column: auto; }
  .service-dialog-actions .button { width: 100%; }
  .takumi-meaning {
    min-height: 680px;
    grid-template-columns: 1fr;
    padding-block: 5.5rem;
  }

  .takumi-copy { grid-column: 1; align-self: end; }

  .takumi-character {
    top: 2.5rem;
    right: -1rem;
    left: auto;
    width: auto;
    font-size: clamp(16rem, 72vw, 23rem);
    transform: none;
  }

  .about-principles .card { border-right: 0; border-bottom: 1px solid rgba(143, 116, 72, 0.2); border-left: 0; }
  .about-principles .card:last-child { border-right: 0; border-bottom: 0; }
  .cta-panel,
  .footer-cta { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .price-options div { grid-template-columns: 1fr; }
  .price-options small { grid-column: auto; }
  .commercial-links { align-items: flex-start; flex-direction: column; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding-right: 4rem; }

  .trust-list { border-inline: 1px solid rgba(143, 116, 72, 0.18); }
  .trust-list li { justify-content: flex-start; border: 0; border-bottom: 1px solid rgba(143, 116, 72, 0.18); }
  .trust-list li:last-child { border-right: 0; border-bottom: 0; }

  .whatsapp-float {
    right: 0.75rem;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: 50px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .brand-text { font-size: 0.82rem; letter-spacing: 0.08em; }
  .hero-photo h1 { font-size: clamp(2.85rem, 15vw, 4rem); }
  .hero-project-caption { font-size: 0.68rem; }
  .button-row .button,
  .footer-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal-ready,
  .reveal-ready.is-revealed,
  .project-card.reveal-ready .project-capture {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  [data-motion-expand],
  [data-motion-expand] img,
  [data-motion-parallax] img,
  [data-motion-hero] .hero-project img {
    transform: none !important;
    will-change: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .button,
  .menu-button { display: none !important; }

  body { background: #fff; color: #000; }
  .section,
  .page-hero { padding-block: 2rem; }
  .reveal-ready,
  .reveal-ready.is-revealed,
  [data-motion-expand],
  [data-motion-expand] img,
  [data-motion-parallax] img,
  [data-motion-hero] .hero-project img { opacity: 1 !important; clip-path: none !important; transform: none !important; }
}
