﻿:root {
  --ink: #141414;
  --ink-soft: #3b3f45;
  --muted: #6b7079;
  --blue: #0a5fc4;
  --blue-bright: #1f74d8;
  --paper: #f6f7f9;
  --line: #c9cdd3;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --script: "Nothing You Could Do", "Segoe Script", cursive;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Background composition ---------- */
.bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, #fff 0%, rgba(255,255,255,0) 70%), var(--paper); }

.bg__band {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(210,215,222,.45), rgba(230,233,237,.15));
  clip-path: polygon(0 8%, 8% 8%, 29% 78%, 0 78%);
}

.bg__wedge {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--blue-bright), var(--blue));
  clip-path: polygon(0 40%, 15.6% 78%, 0 78%);
}

.bg__photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 34vw; max-width: 620px;
  background: url("assets/fuge-detail.jpg") right top / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%);
  mask-composite: intersect;
}

/* ---------- Handwritten accent ---------- */
.script {
  position: absolute; left: 4.2vw; top: 29vh; margin: 0;
  font-family: var(--script); font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.05;
  color: #9ea3ab; transform: rotate(-17deg); transform-origin: left top;
}
.script span { display: block; }
.script span + span { padding-left: .9em; }
.script__swash { display: block; width: 5.2em; margin: .1em 0 0 .8em; color: #a9aeb5; }

/* ---------- Main stage ---------- */
.stage {
  flex: 1;
  width: min(100% - 2rem, 720px);
  margin: 0 auto;
  padding: clamp(2rem, 6.5vh, 4.5rem) 0 clamp(1rem, 3vh, 2rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.brand { display: flex; flex-direction: column; align-items: center; }
.brand__mark { width: clamp(170px, 20vw, 300px); height: auto; }
.brand__name {
  margin: .9rem 0 0; font-weight: 700; letter-spacing: -.01em; line-height: 1;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}
.brand__name span { color: var(--blue); margin-left: .08em; }
.brand__claim {
  display: flex; align-items: center; gap: 1.6em; width: 100%;
  margin: .9rem 0 0; font-size: clamp(.7rem, 1vw, .85rem); font-weight: 500;
  letter-spacing: .5em; text-transform: uppercase; color: var(--ink-soft);
}
.brand__claim::before, .brand__claim::after { content: ""; flex: 1; height: 1px; background: var(--ink-soft); opacity: .8; }

.intro { margin-top: clamp(2rem, 5vh, 3rem); }
.intro h2 {
  margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.12;
  font-size: clamp(2rem, 4.3vw, 3.6rem);
}
.intro p { margin: 1.4rem 0 0; font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--ink-soft); }
.intro strong { color: var(--ink); font-weight: 600; }
.intro .intro__thanks { margin-top: 1.1rem; }

/* ---------- Contact ---------- */
.contact {
  display: flex; align-items: center; justify-content: center; gap: 1.75rem;
  margin-top: clamp(1.6rem, 4vh, 2.4rem); font-style: normal;
}
.contact__item { display: inline-flex; align-items: center; gap: .9rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.contact__icon {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: #e8eaee; color: var(--blue); transition: background .2s, color .2s;
}
.contact__icon svg { width: 1.45rem; height: 1.45rem; }
.contact__item--link:hover .contact__text,
.contact__item--link:focus-visible .contact__text { color: var(--blue); }
.contact__item--link:hover .contact__icon,
.contact__item--link:focus-visible .contact__icon { background: var(--blue); color: #fff; }
.contact__item--link:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 2rem; }
.contact__sep { width: 1px; height: 2.8rem; background: var(--line); }

/* ---------- Values ---------- */
.values { width: min(100% - 2rem, 1000px); margin: 0 auto; padding: clamp(1.25rem, 3.5vh, 2.25rem) 0; }
.values ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 2rem; }
.values li { display: flex; align-items: center; gap: 1.4rem; }
.values svg { width: 2.6rem; height: 2.6rem; color: var(--blue); flex: none; }
.values div { padding-left: 1.4rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.3; }
.values strong { font-size: 1.2rem; font-weight: 600; }
.values span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: .25rem; }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 1.2rem;
  padding: 1rem 4.2vw 1.6rem; font-size: .8rem; color: var(--ink-soft);
}
.footer small { font-size: inherit; }
.footer__line { height: 1px; background: var(--line); }
.footer__claim { font-size: .72rem; letter-spacing: .38em; text-transform: uppercase; color: var(--ink); padding-left: 1rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .brand, .intro, .contact, .values li {
    animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
  }
  .intro { animation-delay: .12s; }
  .contact { animation-delay: .24s; }
  .values li:nth-child(1) { animation-delay: .36s; }
  .values li:nth-child(2) { animation-delay: .44s; }
  .values li:nth-child(3) { animation-delay: .52s; }
  .bg__photo { animation: fade 1.4s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes fade { from { opacity: 0; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .script { display: none; }
  .bg__photo { width: 30vw; opacity: .75; }
}

@media (max-width: 760px) {
  .br-lg { display: none; }
  .bg__photo { width: 70vw; height: 460px; bottom: auto; opacity: .45; }
  .bg__band { clip-path: polygon(0 72%, 8% 72%, 30% 100%, 0 100%); opacity: .7; }
  .bg__wedge { clip-path: polygon(0 86%, 12% 100%, 0 100%); }
  .brand__claim { letter-spacing: .35em; gap: 1em; }
  .contact { flex-direction: column; gap: 1rem; }
  .contact__sep { display: none; }
  .values ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; width: fit-content; margin: 0 auto; }
  .footer { grid-template-columns: 1fr; text-align: center; gap: .5rem; padding: 1.2rem 1rem 1.6rem; }
  .footer__line { display: none; }
  .footer__claim { padding-left: 0; }
}
