:root {
  --black: #0a0b0d;
  --charcoal: #131519;
  --line: rgba(255, 255, 255, 0.10);
  --gray: #8b9098;
  --gray-dim: #5c6168;
  --steel: #5f7f9e;
  --white: #f4f5f6;
  --red: #a11d2e;
  --red-hot: #c42a3d;
  --gutter: clamp(24px, 6vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Heebo", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Raw concrete texture: fixed grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 -.25'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: normal; color: var(--steel); }

/* Latin text (brand, numbers): wide tracking = "expensive" */
.latin { letter-spacing: .32em; font-weight: 700; direction: ltr; unicode-bidi: isolate; }

.section { padding: clamp(120px, 20vh, 240px) var(--gutter); max-width: 1500px; margin: 0 auto; }

.eyebrow {
  font-size: .8rem; letter-spacing: .18em; color: var(--gray);
  display: flex; gap: 1.1em; align-items: center; margin-bottom: clamp(48px, 8vh, 96px);
}
.eyebrow .latin { color: var(--steel); letter-spacing: .2em; }
.eyebrow::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--line); }

.statement {
  font-weight: 900; line-height: 1.12;
  font-size: clamp(2.4rem, 7vw, 6rem);
}

/* ---------- Header + menu ---------- */
.top {
  position: fixed; top: 0; inset-inline: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter);
  mix-blend-mode: difference;
}
.top__mark { font-size: .8rem; }
.menu-btn {
  background: none; border: 0; color: var(--white); cursor: pointer;
  display: flex; align-items: center; gap: 14px; font: inherit; font-size: .8rem; letter-spacing: .18em;
}
.menu-btn__bars { display: grid; gap: 6px; width: 28px; }
.menu-btn__bars i { height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(3.5px) rotate(20deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child  { transform: translateY(-3.5px) rotate(-20deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--black);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu ul { display: grid; gap: clamp(8px, 2vh, 20px); }
.menu a {
  display: flex; align-items: baseline; gap: 1.2em;
  font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 900; line-height: 1.25;
  color: var(--gray-dim); transition: color .4s, transform .5s var(--ease);
}
.menu a .latin { font-size: .8rem; color: var(--steel); }
.menu a:hover { color: var(--white); transform: translateX(-16px); }
.menu li { overflow: hidden; }
.menu li a { transform: translateY(110%); }
.menu.open li a { transform: none; transition: transform .8s var(--ease), color .4s; }
.menu.open li:nth-child(2) a { transition-delay: .06s, 0s; }
.menu.open li:nth-child(3) a { transition-delay: .12s, 0s; }
.menu.open li:nth-child(4) a { transition-delay: .18s, 0s; }
.menu.open li:nth-child(5) a { transition-delay: .24s, 0s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero__bg, .band__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(95,127,158,.16), transparent 70%),
    linear-gradient(180deg, #0d0f12 0%, var(--black) 100%);
  background-size: cover; background-position: center;
}
.hero__bg::after, .band__bg::after { /* darkening veil so any photo stays moody */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,.55), rgba(10,11,13,.35) 50%, var(--black));
}
.hero__bg:not([style])::after, .band__bg:not([style])::after { display: none; }
.hero__inner { padding: 0 var(--gutter); }
.hero__logo { width: min(560px, 78vw); margin: 0 auto; opacity: 0; animation: rise 2s .2s var(--ease) forwards; }
.hero__role { margin-top: clamp(32px, 6vh, 64px); font-size: .8rem; color: var(--gray); opacity: 0; animation: rise 1.6s .9s var(--ease) forwards; }
.hero__sub { margin-top: 10px; font-size: .95rem; letter-spacing: .3em; color: var(--gray-dim); opacity: 0; animation: rise 1.6s 1.1s var(--ease) forwards; }
.hero__scroll { position: absolute; bottom: 36px; inset-inline: 0; margin-inline: auto; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.hero__scroll span { display: block; width: 100%; height: 40%; background: var(--white); animation: drip 2.4s var(--ease) infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.about__grid--mirror { grid-template-columns: .7fr 1.3fr; }
.about__grid--mirror .about__text { order: 2; }
.about__grid--mirror .about__portrait { order: 1; }
.about__body { margin-top: clamp(32px, 6vh, 64px); max-width: 640px; color: #c3c7cc; font-size: 1.15rem; }
.about__body p + p { margin-top: 1.6em; }
.about__body .latin { letter-spacing: .12em; color: var(--white); font-weight: 700; }
.about__portrait {
  aspect-ratio: 4 / 5; background: var(--charcoal);
  background-size: cover; background-position: center;
  filter: grayscale(.5) contrast(1.05) brightness(.85);
}
.about__portrait:not([style]) {
  background:
    radial-gradient(80% 70% at 50% 30%, rgba(95,127,158,.2), transparent 70%),
    linear-gradient(160deg, #1a1d22, #0a0b0d);
}
@media (max-width: 900px) {
  .about__grid, .about__grid--mirror { grid-template-columns: 1fr; }
  .about__grid--mirror .about__text { order: 0; }
  .about__portrait, .about__grid--mirror .about__portrait { order: -1; max-width: 320px; }
}

/* ---------- Services ---------- */
.services__list li {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: clamp(28px, 5vh, 48px) 0; border-top: 1px solid var(--line);
  transition: padding .6s var(--ease), background .6s;
}
.services__list li:last-child { border-bottom: 1px solid var(--line); }
.services__list .n { font-size: .8rem; color: var(--steel); }
.services__list h3 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 900; line-height: 1.2; }
.services__list p { color: var(--gray); }
.services__list li:hover { padding-inline: 24px; background: rgba(255,255,255,.02); }

/* ---------- Full-bleed band ---------- */
.band { position: relative; min-height: 80svh; display: grid; place-items: center; overflow: hidden; }
.band__bg {
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px),
    radial-gradient(55% 60% at 30% 60%, rgba(95,127,158,.22), transparent 70%),
    linear-gradient(160deg, #15181d, #08090b);
  background-size: auto, auto, auto;
}
.band__text { position: relative; font-size: clamp(3rem, 12vw, 11rem); font-weight: 900; line-height: 1; text-align: center; padding: 0 var(--gutter); }

/* ---------- Work grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.card { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--charcoal); isolation: isolate; }
.card__img {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 80% at var(--x, 30%) var(--y, 20%), hsla(var(--h, 210), 22%, 34%, .55), transparent 70%),
    linear-gradient(var(--a, 150deg), #1a1d22, #0b0c0e);
  background-size: cover; background-position: center;
  filter: grayscale(.4) contrast(1.05) brightness(.8);
  transition: transform 1.2s var(--ease), filter .8s;
}
.card__idx { position: absolute; top: 18px; inset-inline-start: 20px; font-size: .7rem; color: rgba(255,255,255,.35); }
.card__info {
  position: absolute; inset: auto 0 0 0; padding: 24px;
  background: linear-gradient(0deg, rgba(10,11,13,.92), transparent);
  transform: translateY(35%); opacity: 0;
  transition: transform .7s var(--ease), opacity .6s;
}
.card__info h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.card__info p { font-size: .85rem; color: var(--gray); }
.card__info .listen { display: inline-block; margin-top: 12px; font-size: .75rem; letter-spacing: .16em; border-bottom: 1px solid var(--red-hot); padding-bottom: 2px; }
.card:hover .card__img, .card:focus-within .card__img { transform: scale(1.06); filter: grayscale(0) contrast(1.05) brightness(.95); }
.card:hover .card__info, .card:focus-within .card__info { transform: none; opacity: 1; }

/* ---------- Lessons ---------- */
.lessons__body { margin-top: clamp(32px, 5vh, 56px); max-width: 520px; color: #c3c7cc; font-size: 1.1rem; }
.btn {
  display: inline-block; margin-top: clamp(40px, 6vh, 64px);
  background: var(--red); color: var(--white);
  padding: 18px 44px; font-weight: 700; letter-spacing: .12em; font-size: .9rem;
  transition: background .4s, transform .5s var(--ease), letter-spacing .5s var(--ease);
}
.btn:hover { background: var(--red-hot); letter-spacing: .2em; }

/* ---------- Contact ---------- */
.contact__phone { display: block; font-size: clamp(2rem, 8vw, 6.5rem); letter-spacing: .12em; font-weight: 900; line-height: 1.1; text-align: start; transition: color .4s; }
.contact__phone:hover { color: var(--steel); }
.contact__links { margin-top: clamp(48px, 8vh, 96px); display: flex; flex-wrap: wrap; gap: 12px 40px; }
.contact__links a { font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact__links a:hover { color: var(--white); border-color: var(--steel); }
[hidden] { display: none !important; }

.foot { display: flex; justify-content: space-between; padding: 40px var(--gutter); border-top: 1px solid var(--line); font-size: .7rem; color: var(--gray-dim); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .services__list li { grid-template-columns: 48px 1fr; }
  .services__list li p { grid-column: 2; }
  .card__info { transform: none; opacity: 1; padding: 16px; }
  .card__info h3 { font-size: 1rem; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__logo, .hero__role, .hero__sub { opacity: 1; }
}
