:root {
  --ink: #0b0b0a;
  --paper: #f1f0e9;
  --muted: #aaa9a2;
  --accent: #d8ff39;
  --pad: clamp(1.15rem, 2.65vw, 2.8rem);
}

* { box-sizing: border-box; }

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

html { background: var(--ink); color: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at var(--x, 80%) var(--y, 20%), rgba(216,255,57,.055), transparent 28rem),
    var(--ink);
}

a { color: inherit; }

.page {
  min-height: 100svh;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--pad);
  position: relative;
  isolation: isolate;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: invert(1) contrast(1.12);
  user-select: none;
  pointer-events: none;
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.topline__mark {
  display: inline-flex;
  align-items: center;
}

.topline__logo {
  width: 5.9rem;
  aspect-ratio: 3.45 / 1;
}

.topline__note { color: var(--muted); }

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(2.4rem, 5vw, 5rem);
  padding: clamp(2.5rem, 7vh, 5rem) 0 clamp(3rem, 6vh, 5rem);
}

.wordmark {
  display: grid;
  grid-template-columns: minmax(0, 3.45fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(.75rem, 1.8vw, 1.8rem);
  width: min(78vw, 67rem);
  max-width: 100%;
  user-select: none;
}

.wordmark__logo {
  width: 100%;
  aspect-ratio: 3.45 / 1;
}

.wordmark__marketing {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  position: relative;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

.wordmark__marketing::after {
  content: "+";
  position: absolute;
  top: .65rem;
  right: .7rem;
  font-size: clamp(.75rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1;
}

.wordmark__marketing span {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(.66rem, 1.45vw, 1.5rem);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  transition: letter-spacing .3s ease;
}

.wordmark__marketing:hover {
  transform: scale(.965);
  box-shadow: 0 0 0 .3rem rgba(216,255,57,.12);
}

.wordmark__marketing:hover > span:first-child { letter-spacing: .19em; }

body.show-overset .wordmark__marketing {
  transform: scale(.965);
  box-shadow: 0 0 0 .3rem rgba(216,255,57,.12);
}

body.show-overset .wordmark__marketing::after { transform: rotate(45deg); }

.wordmark__marketing::after { transition: transform .3s ease; }

.wordmark__marketing:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: .4rem;
}

.statement {
  padding-top: clamp(.25rem, 1vw, .8rem);
}

.statement__lead { white-space: nowrap; }

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.055em;
}

.statement__reveal {
  color: var(--accent);
  font-style: normal;
  display: block;
  margin-top: .18em;
  opacity: 0;
  transform: translateY(.18em);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}

body.show-overset .statement__reveal {
  opacity: 1;
  transform: translateY(0);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
  align-items: center;
  padding-top: clamp(1rem, 2vw, 2rem);
  font-size: clamp(.8rem, 1vw, .95rem);
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem clamp(1.4rem, 3vw, 3.2rem);
}

.contact a {
  width: fit-content;
  text-decoration: none;
  position: relative;
  padding-bottom: .22rem;
}

.contact a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .25s ease;
}

.contact a:hover::after,
.contact a:focus-visible::after { transform: scaleX(1); }

.contact a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.contact__place { color: var(--muted); text-align: right; }

@media (max-width: 760px) {
  .page { min-height: 100svh; }
  .topline__note { display: none; }
  .hero { justify-content: flex-start; padding: 3rem 0; }
  .wordmark { width: 100%; gap: .55rem; }
  .wordmark__marketing span { font-size: clamp(.55rem, 2.8vw, .86rem); }
  .wordmark__marketing::after { top: .38rem; right: .42rem; }
  .statement__lead { white-space: normal; }
  h1 { font-size: clamp(2.55rem, 11.8vw, 5rem); }
  .contact { grid-template-columns: 1fr; gap: 1rem; }
  .contact__links { display: grid; gap: .8rem; }
  .contact__place { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* A viewport-sized composition; the document can still grow when text is enlarged. */
.page { min-height: 100svh; height: 100svh; grid-template-rows: auto minmax(0, 1fr) auto; }
.hero { min-height: 0; }
.contact { border-top: 1px solid #393935; padding-top: clamp(.8rem, 2.5svh, 1.5rem); }
.cta { border: 1px solid var(--accent); border-radius: 999px; color: var(--paper); background: transparent; padding: .85rem 1.6rem; font: inherit; font-size: .7rem; letter-spacing: .16em; cursor: pointer; transition: background .2s, color .2s; }
.cta:hover { background: var(--accent); color: var(--ink); }
.cta:focus-visible, .panel-close:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.cta--mobile { display: none; }
.service-panel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(28rem, 100vw); height: 100dvh; max-height: none; max-width: 100vw; padding: clamp(1.4rem, 3vw, 2.5rem); border: 0; border-left: 1px solid #393935; background: #10100f; color: var(--paper); overflow-y: auto; }
.service-panel[open] { display: flex; flex-direction: column; animation: panel-in .35s cubic-bezier(.2,.8,.2,1); }
.service-panel::backdrop { background: rgba(0,0,0,.45); }
@keyframes panel-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-heading h2 { margin: 0; font-size: .8rem; font-weight: 400; letter-spacing: .18em; }
.panel-close { background: none; color: var(--paper); border: none; font: inherit; font-size: 1.9rem; cursor: pointer; width: 2.75rem; height: 2.75rem; }
.panel-services { display: grid; gap: clamp(1.5rem, 6svh, 4rem); padding: clamp(2rem, 7svh, 5rem) 0; }
.service { display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; }
.service__number { font-size: 2.2rem; font-weight: 400; color: var(--accent); letter-spacing: -.06em; }
.service h3 { margin: .3rem 0 1rem; font-size: 1.25rem; font-weight: 400; }
.service h3::after { content: ''; display: block; width: 1.5rem; height: 2px; background: var(--accent); margin-top: .8rem; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.panel-contact { margin-top: auto; border-top: 1px solid #393935; padding-top: 1.5rem; text-decoration: none; font-size: .85rem; letter-spacing: .12em; display: flex; justify-content: space-between; gap: .5rem; }
.panel-contact:hover { color: var(--accent); }
body.panel-open { overflow: hidden; }
@media (max-width: 760px) {
  .topline { display: none; }
  .page { grid-template-rows: minmax(0, 1fr) auto; }
  .hero { justify-content: center; gap: clamp(1rem, 4svh, 2rem); padding: 1rem 0 1.5rem; }
  .wordmark { width: 100%; }
  h1 { font-size: clamp(2.55rem, 11.8vw, 5rem); }
  .cta--mobile { display: block; width: fit-content; }
  .contact { font-size: .7rem; }
  .contact__links { gap: .6rem; }
}
@media (max-height: 480px) and (min-width: 761px) {
  .hero { padding-top: 1rem; gap: 1rem; }
  .wordmark { width: min(60vw, 85svh); }
  .cta { padding: .55rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
@media (max-height: 350px) {
  .page { height: auto; min-height: 100svh; grid-template-rows: auto 1fr auto; }
  .hero { min-height: min-content; }
}

/* Mobile has its own rhythm; desktop proportions stay in the rules above. */
@media (max-width: 760px) {
  .page {
    height: auto;
    min-height: 100svh;
    grid-template-rows: 1fr auto;
    padding: max(1.5rem, env(safe-area-inset-top)) 1.25rem max(1.25rem, env(safe-area-inset-bottom));
  }
  .hero {
    justify-content: flex-start;
    gap: 0;
    padding: clamp(1rem, 5svh, 3rem) 0 2rem;
  }
  .wordmark { width: 100%; gap: .65rem; }
  .wordmark__marketing > span:first-child { font-size: clamp(.55rem, 2.5vw, .95rem); letter-spacing: .1em; }
  .wordmark__marketing::after { font-size: .8rem; top: .35rem; right: .35rem; }
  .statement { padding: 0; margin-top: clamp(2rem, 6svh, 3.5rem); }
  h1 { font-size: clamp(1.45rem, 7.8vw, 3.1rem); line-height: 1.12; letter-spacing: -.045em; }
  .statement__line { display: block; }
  .statement__reveal { margin-top: .35em; }
  .cta--mobile { margin-top: 1.5rem; min-height: 44px; padding: .85rem 1.65rem; font-size: .72rem; }
  .contact { padding-top: 1.15rem; font-size: clamp(.65rem, 2.5vw, .85rem); letter-spacing: .055em; }
  .contact__links { gap: .85rem; }
  .service-panel { width: 100%; padding: max(1.25rem, env(safe-area-inset-top)) 1.5rem max(1.5rem, env(safe-area-inset-bottom)); }
  .panel-services { gap: 2rem; padding: 2rem 0; }
  .service { grid-template-columns: 2.5rem 1fr; gap: .65rem; }
  .service__number { font-size: 1.9rem; }
  .service h3 { font-size: 1.05rem; }
  .service p { font-size: .9rem; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .hero { padding-top: .5rem; padding-bottom: 1.25rem; }
  .statement { margin-top: 1.5rem; }
  .cta--mobile { margin-top: 1rem; }
}
/* Mobile poster composition from the selected reference. */
@media (max-width: 760px) {
  .page { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding-top: clamp(.75rem, 4svh, 2.5rem); padding-bottom: 2rem; }
  .wordmark { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; }
  .wordmark__logo { width: 100%; }
  .wordmark__marketing {
    align-self: flex-end;
    width: 78%;
    height: clamp(3.5rem, 16vw, 5.5rem);
    aspect-ratio: auto;
    margin-right: -1.25rem;
  }
  .wordmark__marketing > span:first-child {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(.65rem, 2.6vw, .95rem);
    letter-spacing: .22em;
  }
  .wordmark__marketing::after { top: .45rem; right: .6rem; }
  .statement { margin-top: clamp(2rem, 7svh, 3.5rem); }
  h1 { font-size: clamp(1.4rem, 7.4vw, 3rem); line-height: 1.12; }
  .statement__reveal { opacity: 1; transform: none; margin-top: .08em; }
  .cta--mobile {
    border: 0;
    border-radius: 0;
    padding: .75rem 0;
    min-height: 44px;
    margin-top: 1.5rem;
    position: relative;
    font-size: .68rem;
    letter-spacing: .18em;
  }
  .cta--mobile::after { content: ''; position: absolute; left: 0; right: 0; bottom: .4rem; height: 1px; background: var(--accent); }
  .cta--mobile:hover { background: transparent; color: var(--accent); }
  .contact { border-top: 0; padding-top: 1rem; padding-bottom: .25rem; }
  .contact__links { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
  .contact a { font-size: clamp(.46rem, 1.85vw, .72rem); letter-spacing: .06em; white-space: nowrap; }
}
