/* Legendary Global — site styles
   Palette: black / white / brand orange, with travertine from the photography. */

:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #f68e25;      /* the disc in the logo */
  --copper: #a04e18;      /* the portal panel; hover / dark accent */
  --stone: #ece4d6;       /* travertine band */
  --ink-2: #5c5247;       /* secondary text on light */
  --rule: #d9d0c2;

  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--black); color: var(--white);
  padding: 8px 14px; z-index: 100; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  padding: 16px var(--gutter);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-logo img { width: 190px; transition: width .3s; }
.nav.is-solid .nav-logo img { width: 150px; }
.nav nav { display: flex; gap: 32px; }
.nav nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.nav nav a:hover { border-bottom-color: var(--black); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh; min-height: 560px; max-height: 1000px;
  overflow: hidden;
  background: var(--stone);
}
.hero picture, .hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 60%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 48%);
  pointer-events: none;
}
.hero-text {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 8vh, 88px);
  max-width: 760px; z-index: 2;
}
.hero h1 {
  margin: 0 0 20px;
  text-wrap: balance;
  font-weight: 300;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 .dot {
  /* the orange disc from the wordmark, used once: as the full stop */
  display: inline-block;
  width: 0.22em; height: 0.22em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 0.02em;
}
.hero p {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  margin: 0;
}

/* one orchestrated reveal on load */
.hero img { transform: scale(1.04); }
.hero-text > * { opacity: 0; transform: translateY(12px); }
@media (prefers-reduced-motion: no-preference) {
  .hero img { animation: settle 2.2s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero h1 { animation: rise .9s .25s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero p  { animation: rise .9s .45s cubic-bezier(.2,.7,.2,1) forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .hero img { transform: none; }
  .hero-text > * { opacity: 1; transform: none; }
}
@keyframes settle { to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Section grid ---------- */

section { padding: clamp(72px, 10vw, 140px) var(--gutter); }

.grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 4fr 8fr; gap: 40px;
  align-items: start;
}
.grid h2 {
  margin: 0;
  font-weight: 400; font-size: 15px; letter-spacing: 0.01em;
  padding-top: 6px;
  position: sticky; top: 88px;
}
.copy { max-width: 680px; }
.lede {
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.meta { color: var(--ink-2); font-size: 15px; }
.link { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.link:hover { color: var(--copper); border-bottom-color: var(--copper); }

/* ---------- Intro + at a glance ---------- */

.intro { padding-bottom: clamp(56px, 7vw, 100px); }

.glance {
  max-width: var(--max); margin: clamp(56px, 7vw, 96px) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
}
.glance > div {
  padding: 22px 24px 26px 0;
  border-bottom: 1px solid var(--rule);
}
.glance > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.glance dt { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.glance dd { margin: 0; font-weight: 300; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- Portfolio ---------- */

.portfolio { background: var(--stone); }

.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--black); }
.areas li {
  display: grid; grid-template-columns: 5fr 7fr; gap: 32px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--black);
}
.area-title { display: flex; align-items: flex-start; gap: 18px; }
.icon { flex: 0 0 auto; width: 34px; height: 34px; margin-top: 4px; color: var(--copper); }
.areas h3 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05; letter-spacing: -0.015em;
}
.areas p { max-width: 520px; }
.areas .meta { margin-top: 14px; }
.brand-mark { width: 84px; margin-top: 22px; opacity: .9; }

/* ---------- Approach ---------- */

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principles h3 {
  margin: 0 0 12px;
  font-weight: 400; font-size: 20px; line-height: 1.3;
  padding-top: 18px;
  border-top: 2px solid var(--orange);
}
.principles p { color: var(--ink-2); font-size: 16px; }

/* ---------- Image band ---------- */

.band { height: clamp(220px, 38vh, 420px); overflow: hidden; background: var(--stone); }
.band img { width: 165%; max-width: none; height: 100%; object-fit: cover; object-position: 0% 100%; }
@media (max-width: 600px) { .band img { width: 260%; } }

/* ---------- Contact ---------- */

.contact .copy p:first-child { font-size: clamp(20px, 2vw, 26px); font-weight: 300; margin-bottom: 20px; }
.email {
  display: inline-block;
  font-weight: 300;
  font-size: clamp(22px, 3.6vw, 48px);
  letter-spacing: -0.015em; line-height: 1.1;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 6px; margin-bottom: 22px;
  word-break: break-all;
}
.email:hover { color: var(--copper); border-bottom-color: var(--copper); }

/* ---------- Footer ---------- */

.footer { background: var(--black); color: var(--white); padding: clamp(56px, 7vw, 88px) var(--gutter) 36px; }
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 4fr 8fr; gap: 40px;
}
.footer-top > img { width: 170px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { margin: 0 0 14px; font-weight: 500; font-size: 14px; color: rgba(255,255,255,.55); }
.footer-cols a, .footer-cols span { display: block; text-decoration: none; font-size: 15px; margin-bottom: 8px; }
.footer-cols a:hover { color: var(--orange); }
.footer-bottom {
  max-width: var(--max); margin: 56px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .grid h2 { position: static; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance > div + div { padding-left: 0; border-left: 0; }
  .glance > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .areas li { grid-template-columns: 1fr; gap: 14px; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding: 20px var(--gutter); }
  .nav-logo img, .nav.is-solid .nav-logo img { width: 112px; }
  .nav nav { gap: 14px; }
  .nav nav a { font-size: 14px; }
  .hero { min-height: 520px; }
  .hero picture, .hero img { object-position: 62% 60%; }
  .hero::after { background: linear-gradient(to top, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 60%); }
  .hero-text { max-width: none; }
  .glance { grid-template-columns: 1fr; }
  .glance > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .icon { width: 28px; height: 28px; }
  .footer-cols { grid-template-columns: 1fr; }
}
