:root {
  --navy: #0f1b2a;
  --navy-2: #172739;
  --navy-3: #22374d;
  --gold: #e9a23b;
  --gold-dark: #c9862a;
  --plaster: #f2ede5;
  --plaster-2: #e6dfd3;
  --white: #ffffff;
  --ink: #18212c;
  --muted: #5b6470;
  --line: #d9d0c2;
  --wrap: 1200px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Surface textures */
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .5 0 0 0 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 .5 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --blocks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='108'%3E%3Cg stroke='%23192636' stroke-width='3' opacity='.85'%3E%3Cpath d='M0 1.5H160M0 55.5H160M1.5 0V54M81.5 54V108'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--plaster) var(--grain-dark);
  background-size: 220px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.6rem, 6.8vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 400; text-transform: none; color: var(--gold); letter-spacing: 0; font-size: 1.12em; line-height: 0.9; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.on-dark .kicker, .kicker--light { color: var(--gold); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease), border-color .3s;
}
.btn::before {
  /* trowel wipe on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: translateX(-101%);
  transition: transform .4s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--white); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--line::before { background: var(--gold); }
.btn--line:hover { color: var(--navy); border-color: var(--gold); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy::before { background: var(--gold); }
.btn--navy:hover { color: var(--navy); }
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn:disabled { opacity: .6; cursor: wait; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.more::after { content: ""; width: 34px; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.more:hover::after { width: 54px; }
.on-dark .more { color: var(--white); }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  color: var(--white);
  transition: background .35s, box-shadow .35s;
}
body[data-page="home"] .topbar { position: fixed; left: 0; right: 0; background: transparent; }
body[data-page="home"] .topbar.is-scrolled, .topbar.is-scrolled { background: var(--navy); box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__mark { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__name { display: block; }
/* "Details" is the lettering cut from the logo, so it matches exactly */
.brand__word { width: auto; height: 38px; margin: -4px 0 0 -4px; }
.brand__name small { display: block; font-family: var(--head); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative;
  font-family: var(--head);
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: none; }
.nav a:not(.btn)[aria-current="page"] { color: var(--white); }
.nav a.btn[aria-current="page"] { background: var(--white); border-color: var(--white); }

.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span:not(.sr) { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Home hero: a skim coat sweeps across a rough wall */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: #2a3442;
  overflow: hidden;
  padding: 120px 0 110px;
}
.hero__rough, .hero__skim { position: absolute; inset: 0; }
.hero__rough {
  /* bare blockwork before plastering */
  background: var(--grain-light) 0 0 / 220px, var(--blocks) 0 0 / 160px 108px, #4a5564;
}
.hero__skim {
  background: var(--grain-light), radial-gradient(ellipse at 50% 35%, var(--navy-3), var(--navy) 70%);
  background-size: 220px, cover;
  clip-path: inset(0 0 0 0);
  animation: skim 2.4s .3s cubic-bezier(.45, .05, .35, 1) both;
}
.hero__trowel {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 4px;
  left: 0;
  background: linear-gradient(transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  box-shadow: 0 0 24px 4px rgba(233,162,59,.45);
  animation: trowel 2.4s .3s cubic-bezier(.45, .05, .35, 1) both;
}
@keyframes skim { from { clip-path: inset(0 100% 0 0); } }
@keyframes trowel { from { left: 0; opacity: 1; } 92% { opacity: 1; } to { left: 100%; opacity: 0; } }
.hero__content { position: relative; max-width: 900px; padding: 0 20px; animation: rise 1s 1.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero__badge { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 26px; box-shadow: 0 0 0 8px rgba(255,255,255,.05), 0 12px 40px rgba(0,0,0,.4); }
.hero h1 { margin-bottom: .35em; }
.hero__word { display: inline-block; height: 1.5em; width: auto; vertical-align: -.42em; margin-left: .05em; }
.hero__lead { font-size: 1.18rem; color: rgba(255,255,255,.8); max-width: 38em; margin: 0 auto 34px; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
/* K Rend badge */
.krend { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.krend span { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: rgba(255,255,255,.7); }
.krend img { height: 24px; width: auto; }
.krend--hero { margin-top: 30px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); transition: border-color .25s; }
.krend--hero:hover { border-color: var(--gold); }
.krend--foot { margin-top: 18px; }
/* Ticker band */
.ticker { background: var(--gold); color: var(--navy); overflow: hidden; white-space: nowrap; border-block: 1px solid var(--gold-dark); }
.ticker__track { display: inline-flex; animation: tick 40s linear infinite; padding: 15px 0; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font-family: var(--head); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; }
.ticker span::after { content: ""; width: 7px; height: 7px; background: var(--navy); transform: rotate(45deg); margin: 0 26px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Inner page banner */
.banner { position: relative; color: var(--white); background: var(--grain-light), var(--navy); background-size: 220px, auto; overflow: hidden; }
.banner__inner { position: relative; padding-top: 70px; padding-bottom: 76px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.banner h1 { margin-bottom: .25em; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.banner p { color: rgba(255,255,255,.75); max-width: 40em; margin: 0; font-size: 1.12rem; }
.banner__word { font-family: var(--script); font-size: clamp(4rem, 12vw, 9rem); color: rgba(233,162,59,.14); line-height: .8; user-select: none; }
.banner::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--gold); transform-origin: left; animation: line 1.2s .2s var(--ease) both; }
@keyframes line { from { transform: scaleX(0); } }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--white { background: var(--white); }
.on-dark { background: var(--grain-light), var(--navy); background-size: 220px, auto; color: var(--white); }
.head { max-width: 700px; margin-bottom: 50px; }
.head p { color: var(--muted); font-size: 1.1rem; }
.on-dark .head p { color: rgba(255,255,255,.7); }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }

/* Photo placeholder */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: var(--grain-dark), var(--plaster-2);
  background-size: 220px, auto;
  color: var(--muted);
  font-family: var(--head);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 16px;
  overflow: hidden;
}
.ph::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(24,33,44,.25); pointer-events: none; }
.ph--dark { background: var(--grain-light), var(--navy-2); background-size: 220px, auto; color: rgba(255,255,255,.55); }
.ph--dark::before { border-color: rgba(255,255,255,.2); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph > span { position: relative; z-index: 1; }
.work--empty .ph { align-items: flex-start; }

/* Home: links into the other pages */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
  padding: 28px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s;
}
.door::before {
  /* navy coat wipes across on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
}
.door::after { content: "\2192"; position: absolute; right: 24px; bottom: 20px; font-size: 1.5rem; color: var(--gold-dark); transition: transform .35s var(--ease), color .35s; }
.door:hover { color: var(--white); border-color: var(--navy); }
.door:hover::before { transform: none; }
.door:hover::after { transform: translateX(6px); color: var(--gold); }
.door__num { font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--gold-dark); }
.door strong { font-family: var(--head); font-weight: 500; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.door span:last-child { font-size: .98rem; color: var(--muted); max-width: 16em; transition: color .35s; }
.door:hover span:last-child { color: rgba(255,255,255,.75); }
.door--quote { background: var(--gold); border-color: var(--gold); }
.door--quote .door__num, .door--quote::after { color: var(--navy); }
.door--quote span:last-child { color: rgba(15,27,42,.75); }

@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.contact > *, .svc-layout > * { min-width: 0; }

/* Process with a line that fills as you scroll */
.process { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.process::before, .process::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: rgba(255,255,255,.15); }
.process::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.process.is-in::after { transform: none; }
.process li { position: relative; z-index: 1; counter-increment: step; }
.process li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(255,255,255,.25);
  font-family: var(--head);
  font-size: 1.3rem;
  margin-bottom: 22px;
  transition: background .4s, border-color .4s, color .4s;
}
.process.is-in li::before { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.process.is-in li:nth-child(2)::before { transition-delay: .4s; }
.process.is-in li:nth-child(3)::before { transition-delay: .8s; }
.process.is-in li:nth-child(4)::before { transition-delay: 1.2s; }
.process h3 { font-size: 1.15rem; }
.process p { color: rgba(255,255,255,.7); font-size: .98rem; margin: 0; }

/* Projects page */
.filters { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.filters button {
  position: relative;
  background: none;
  border: 0;
  padding: 12px 0;
  font-family: var(--head);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.filters button sup { font-size: .7rem; color: var(--gold-dark); margin-left: 3px; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.filters button[aria-pressed="true"] { color: var(--navy); }
.filters button[aria-pressed="true"]::after { transform: none; }

/* One tile per job; the first one showing is the big feature tile */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 16px; }
.project { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; }
.project[hidden] { display: none; }
.project--big { grid-column: span 2; grid-row: span 2; }
.project .ph { position: absolute; inset: 0; }
.project--empty .ph { align-items: flex-start; }
.project::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 0 solid var(--gold); pointer-events: none; transition: border-width .3s var(--ease); }
.project:hover::after { border-width: 4px; }
.project:hover .ph img { transform: scale(1.05); }
.project:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.project__count { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(15,27,42,.82); font-family: var(--head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; }
.project__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 70px 22px 20px; background: linear-gradient(transparent, rgba(15,27,42,.92)); }
.project__cap strong { font-family: var(--head); font-weight: 500; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; }
.project--big .project__cap { padding: 90px 30px 28px; }
.project--big .project__cap strong { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.project__cap > span { font-size: .95rem; color: rgba(255,255,255,.75); }
.project__cap .project__open { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease); }
.project__open::after { content: ""; width: 30px; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.project:hover .project__open, .project:focus-visible .project__open { max-height: 2em; opacity: 1; margin-top: 8px; }
.project:hover .project__open::after { width: 48px; }
@media (hover: none) { .project__cap .project__open { max-height: 2em; opacity: 1; margin-top: 8px; } }
.projects.is-swapping .project { animation: swap .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.gallery-note { margin-top: 30px; color: var(--muted); }

/* Project viewer: big photo on the left, job details and thumbnails on the right */
.no-scroll { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 1fr 360px; background: #080e16; color: var(--white); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.viewer.is-open { opacity: 1; visibility: visible; }
.viewer__stage { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 10px; min-height: 0; min-width: 0; }
.viewer__photo { height: 100%; min-width: 0; grid-column: 2; }
.viewer__photo .ph { height: 100%; animation: swap .45s var(--ease); }
.viewer .ph img { object-fit: contain; }
.viewer .ph:has(img) { background: none; }
.viewer .ph:has(img)::before { display: none; }
.viewer__btn { background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; justify-self: center; transition: background .2s, color .2s, border-color .2s; }
.viewer__btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.viewer__btn[hidden] { visibility: hidden; display: block; }
.viewer__close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.viewer__info { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: 84px 34px 34px; background: var(--grain-light), var(--navy); background-size: 220px, auto; border-left: 4px solid var(--gold); }
.viewer__info h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .25em; }
.viewer__meta { color: rgba(255,255,255,.65); }
.viewer__text { color: rgba(255,255,255,.82); }
.viewer__count { font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--gold); margin-bottom: 12px; }
.viewer__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 30px; }
.viewer__thumb { aspect-ratio: 1; padding: 0; border: 2px solid transparent; background: var(--navy-2); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.viewer__thumb:hover, .viewer__thumb[aria-current="true"] { opacity: 1; }
.viewer__thumb[aria-current="true"] { border-color: var(--gold); }
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer__next-project { margin-top: auto; }
.viewer__next-project[hidden] { display: none; }
.viewer__next-project::after { content: "\2192"; }

/* Reviews page */
.stars { display: inline-flex; gap: 2px; line-height: 1; color: var(--line); }
.stars .on { color: var(--gold); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; padding: 26px 32px; margin-bottom: 40px; background: var(--white); border-left: 5px solid var(--gold); }
.rating__num { font-family: var(--head); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--navy); }
.rating .stars { font-size: 1.7rem; }
.rating__count { color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 18px; }
.review { position: relative; break-inside: avoid; margin: 0 0 18px; padding: 28px 28px 24px; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,27,42,.1); }
.review::before { content: "\201C"; position: absolute; top: 4px; right: 20px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(233,162,59,.28); }
.review .stars { font-size: 1.15rem; }
.review__text { margin: 14px 0 20px; }
.review__text p { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text p { display: block; }
.review__more { display: block; background: none; border: 0; padding: 0; margin: -8px 0 18px; font-family: var(--head); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); cursor: pointer; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--head); font-size: 1.1rem; }
.review__who strong { display: block; line-height: 1.2; }
.review__who small { color: var(--muted); font-size: .88rem; }
.review__src { margin-left: auto; font-family: var(--head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reviews-empty { max-width: 680px; margin: 0 auto; padding: 60px 30px; text-align: center; background: var(--white); border: 1px dashed var(--line); }
.reviews-empty .stars { font-size: 2rem; margin-bottom: 16px; }
.reviews-empty p { color: var(--muted); margin: 0; }
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.reviews-actions:empty { display: none; }

/* Services page */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 60px; align-items: start; }
.svc-nav { position: sticky; top: 110px; display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.svc-nav a { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--muted); padding: 10px 0 10px 20px; margin-left: -2px; border-left: 2px solid transparent; transition: color .25s, border-color .25s; }
.svc-nav a:hover { color: var(--navy); }
.svc-nav a.is-active { color: var(--navy); border-left-color: var(--gold); }
.svc { scroll-margin-top: 110px; padding-bottom: 80px; margin-bottom: 80px; border-bottom: 1px solid var(--line); }
.svc:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.svc__top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.svc__top .ph { aspect-ratio: 4 / 3; }
.svc__num { font-family: var(--script); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 6px; }
.svc__top p { color: var(--muted); font-size: 1.1rem; }
.svc__top .ph:has(img)::before, .stages .ph:has(img)::before { display: none; }
.stages__head { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--navy); margin: 36px 0 14px; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stages--3 { grid-template-columns: repeat(3, 1fr); }
.stages__item { display: block; text-decoration: none; color: var(--navy); }
.stages .ph { aspect-ratio: 1; overflow: hidden; }
.stages a:hover .ph img { transform: scale(1.06); }
.stages span { display: block; margin-top: 8px; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.stages a:hover span { color: var(--gold); }
@media (max-width: 700px) { .stages { grid-template-columns: repeat(2, 1fr); } .stages--3 { grid-template-columns: repeat(3, 1fr); gap: 8px; } .stages--3 span { font-size: .72rem; } }
.krend-card { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: 36px; background: var(--white); border-top: 5px solid #0b8560; box-shadow: 0 10px 30px rgba(15,27,42,.08); }
.krend-card .ph { aspect-ratio: 4 / 3; height: 100%; }
.krend-card .ph:has(img)::before { display: none; }
.krend-card__body { padding: 32px 30px; align-self: center; }
.krend-card__logo { height: 30px; width: auto; display: block; margin-bottom: 18px; }
.krend-card h3 { margin: 0 0 10px; }
.krend-card p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .krend-card { grid-template-columns: 1fr; } }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--head);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.6rem; color: var(--gold-dark); transition: transform .3s var(--ease); line-height: 1; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { color: var(--gold-dark); }
.acc details p { margin: 0; padding: 0 4px 22px; color: var(--muted); max-width: 46em; }

/* Contact page */
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { border: 1px solid rgba(255,255,255,.25); padding: 8px 18px; font-size: 1rem; transition: background .25s, color .25s, border-color .25s; }
.areas li:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact__card { padding: 38px 34px; position: sticky; top: 110px; }
.contact__phone { display: block; font-family: var(--head); font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--gold); text-decoration: none; margin: 4px 0 24px; letter-spacing: .02em; }
.contact__phone:hover { color: var(--white); }
.contact__phone:has(+ .contact__phone) { margin-bottom: 2px; }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact__list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact__list span { display: block; font-family: var(--head); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.contact__list a { color: var(--white); text-decoration: none; }
.contact__list a:hover { color: var(--gold); }
.contact__card p { color: rgba(255,255,255,.7); margin: 0; font-size: .98rem; }

/* "Start your email": pick a topic, then the email service */
.mail { background: var(--white); padding: 40px; box-shadow: 0 20px 50px rgba(15,27,42,.08); }
.mail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .3em; }
.mail__lead { color: var(--muted); margin-bottom: 30px; }
.mail__step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.mail__step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-family: var(--head); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.mail__step legend b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 500; font-size: .95rem; }
.mail__apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mail__apps a { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 52px 18px 20px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.mail__apps a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateX(-101%); transition: transform .45s var(--ease); }
.mail__apps a::after { content: "\2197"; position: absolute; right: 20px; top: 50%; margin-top: -.7em; font-size: 1.3rem; line-height: 1.4; color: var(--gold-dark); transition: transform .3s var(--ease), color .3s; }
.mail__apps a[data-mail="app"]::after { content: "\2192"; }
.mail__apps a:hover { color: var(--white); border-color: var(--navy); }
.mail__apps a:hover::before { transform: none; }
.mail__apps a:hover::after { color: var(--gold); transform: translateX(4px); }
.mail__apps a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mail__apps strong { font-family: var(--head); font-weight: 500; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.mail__apps span { font-size: .92rem; color: var(--muted); transition: color .35s; }
.mail__apps a:hover span { color: rgba(255,255,255,.7); }
/* On phones the built-in mail app is the most likely choice, so it goes first */
@media (hover: none) { .mail__apps a[data-mail="app"] { order: -1; } }
.mail__foot { margin: 0; color: var(--muted); font-size: .96rem; }
.linkbtn { background: none; border: 0; padding: 0; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.linkbtn:hover { color: var(--gold-dark); }
.mail__note { margin: 16px 0 0; padding: 12px 16px; background: #fbf1e0; border-left: 3px solid var(--gold); font-size: .96rem; }
.mail__note:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { margin: 0; font-weight: 400; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); cursor: pointer; transition: .2s; font-size: .98rem; }
.chips span:hover { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Footer */
.footer { border-top: 5px solid var(--gold); background: #09121c; color: rgba(255,255,255,.7); font-size: .95rem; }
.footer__call { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__call .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-top: 60px; padding-bottom: 60px; }
.footer__call h2 { color: var(--white); margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.footer__call a.big { font-family: var(--head); font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--gold); text-decoration: none; letter-spacing: .03em; }
.footer__call a.big:hover { color: var(--white); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-top: 50px; padding-bottom: 30px; }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a, .footer__contact a { text-decoration: none; color: rgba(255,255,255,.8); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--gold); }
.footer__contact p { margin: 0 0 6px; }
.footer__about { margin-top: 14px; max-width: 26em; }
.footer__end { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; font-size: .88rem; }
.footer__end p { margin: 0; }
.footer__credit a { color: rgba(255,255,255,.7); }

/* Reveal on scroll (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .contact, .svc-layout, .svc__top { grid-template-columns: 1fr; gap: 36px; }
  .projects { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .process::before, .process::after { display: none; }
  .svc-nav { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .svc-nav a { border: 1px solid var(--line); padding: 8px 14px; margin: 0; }
  .contact__card { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Viewer stacks: photo on top, details underneath */
  .viewer { grid-template-columns: 1fr; grid-template-rows: 58svh auto; overflow-y: auto; }
  .viewer__stage { grid-template-columns: 44px 1fr 44px; padding: 64px 4px 16px; }
  .viewer__info { overflow: visible; padding: 26px 20px 30px; border-left: 0; border-top: 4px solid var(--gold); }
  .viewer__btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .viewer__close { top: 12px; right: 12px; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 8px 20px 22px;
    display: none;
  }
  .nav.is-open { display: flex; animation: swap .35s var(--ease); }
  body[data-page="home"] .topbar:has(.nav.is-open) { background: var(--navy); }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.btn { margin-top: 16px; }
  .banner__word { display: none; }
  .banner__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .doors { grid-template-columns: 1fr; gap: 10px; }
  .door { min-height: 0; padding: 20px 56px 20px 20px; }
  .door strong { font-size: 1.35rem; }
  body { font-size: 1rem; }
  .section { padding: 72px 0; }
  .hero { padding: 110px 0 80px; }
  .hero__badge { width: 104px; height: 104px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .process { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .mail, .contact__card { padding: 28px 20px; }
  .mail__apps { grid-template-columns: 1fr; gap: 10px; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__word { height: 32px; }
  .projects { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 12px; }
  .project--big { grid-column: auto; grid-row: span 1; }
  .rating { padding: 22px 20px; }
  .rating__num { font-size: 2.8rem; }
  .footer__call .btn { width: 100%; }
}
