@font-face {
  font-family: "Roboto Condensed";
  src: url("media/fonts/RobotoCondensed-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg-soft: #111114;
  --white: #f5f5f5;
  --silver: #c8c8c8;
  --text: #d0d0d0;
  --text-muted: #9f9f9f;
  --muted: var(--text-muted);
  --orange-light: #ff8a18;
  --orange: #ff6500;
  --orange-deep: #ff4b00;
  --accent: var(--orange);
  --border: rgba(255,101,0,.85);
  --line: rgba(200,200,200,.15);
  --orange-gradient: linear-gradient(180deg,#ff8a18 0%,#ff6500 50%,#ff4b00 100%);
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
}

body,button,input,textarea { font-family: "Roboto Condensed", "Arial Narrow", sans-serif; }
body { background: var(--bg) url('media/portfolio-texture.webp') center center / cover fixed no-repeat; color: var(--text); }
a:hover { color: var(--white); }

/* Navigation and small labels */
.reference-header nav { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.reference-header nav a { color: #d9d9d9; }
.reference-header nav a:hover,
.reference-header nav a[aria-current="page"] { color: #fff; }
.reference-header nav a[aria-current="page"]::after { background: var(--orange); box-shadow: 0 0 8px rgba(255,101,0,.7); }
.reference-header .brand { color: var(--white); font-weight: 600; }
.contact-icon { border-color: var(--border); color: var(--orange); background: rgba(10,10,10,.55); }
.contact-icon:hover { background: var(--orange); color: var(--bg); }
.language-active { color: var(--orange); }
.eyebrow,
.frame-label,
.project-meta .eyebrow,
.second-text .eyebrow,
.about .eyebrow,
.contact .eyebrow { font: 700 14px/1.2 "Roboto Condensed",sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--orange); }
.frame-label { font-size: 12px; letter-spacing: .2em; }

/* Large editorial type */
.reference-hero h1 {
  font-family: "Roboto Condensed",sans-serif;
  font-size: clamp(90px,10vw,160px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: none;
  margin: 0;
}
.hero-surname,
.hero-given { width: max-content; max-width: none; }
.hero-surname {
  color: #f5f5f5;
  background: linear-gradient(180deg,#fff 0%,#f5f5f5 42%,#d1d1d1 75%,#b7b7b7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}
.hero-final-y { display: inline-block; margin-left: .065em; padding-right: .035em; }
.hero-given {
  color: var(--orange);
  background: var(--orange-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(80,25,0,.4));
}
.reference-hero .hero-sub { width: 25.5vw; max-width: 410px; margin-left: clamp(45px,5.8vw,100px); color: var(--white); font-size: clamp(20px,1.4vw,24px); font-weight: 400; line-height: 1.35; text-align: center; text-shadow: none; }
.reference-hero .portrait { filter: none; }
.reference-hero .hero-slogan { right: clamp(16px,1.6vw,34px); width: min(32%,520px); }
.hero-quote {
  font-family: "Roboto Condensed",sans-serif !important;
  font-size: clamp(42px,3.4vw,68px) !important;
  font-weight: 900 !important;
  line-height: .96 !important;
  letter-spacing: -.03em !important;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0,0,0,.25) !important;
  color: var(--white) !important;
}
.hero-quote em { color: var(--orange) !important; }
.reference-hero .hero-note { font-family: "Roboto Condensed",sans-serif !important; font-size: clamp(22px,1.6vw,30px) !important; font-weight: 500; line-height: 1.35 !important; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,.9),0 0 2px #000; }
.reference-hero .portrait { left: calc(53% + 25px); }

/* Remaining sections */
h2,
.section-heading h2,
.contact h2 { font-family: "Roboto Condensed",sans-serif; font-weight: 900; font-size: clamp(38px,3vw,58px); line-height: .92; letter-spacing: -.025em; text-transform: uppercase; color: var(--white); }
.contact h2 { font-size: clamp(48px,6vw,86px); }
.project-title { font-family: "Roboto Condensed",sans-serif; font-weight: 900; font-size: clamp(34px,3vw,50px); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; color: var(--white); }
.second-text h3 { font-size: clamp(28px,2.5vw,38px); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--white); }
.project-summary,
.second-text p { font-size: 21px; line-height: 1.4; letter-spacing: .005em; color: #c5c5c5; }
.case-content p { font-size: 20px; line-height: 1.45; color: var(--text); }
.case-content h4 { font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--orange); }
.approach > p { font-size: 21px; line-height: 1.4; color: #c5c5c5; }
.approach h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.approach li p { font-size: 18px; color: var(--text); }
.approach li > span { color: var(--orange); font-family: "Roboto Condensed",sans-serif; font-weight: 700; }
.small { font-family: "Roboto Condensed",sans-serif; font-weight: 700; letter-spacing: .12em; color: var(--text-muted); }
.draft-note,.facts,.case-toggle,.contact p,footer { color: var(--text-muted); }
.tag { background: var(--bg-soft); border: 1px solid var(--line); color: var(--silver); }
.draft-badge { border-color: var(--border); color: var(--orange); }
.media { border-color: rgba(255,101,0,.38); background: var(--bg-soft); }
.media-empty { background: linear-gradient(125deg,#1a110d,var(--bg-soft)); }
.empty-symbol,.case-toggle::after { color: var(--orange); }
.empty-caption { color: var(--silver); }
.case-toggle { color: var(--white); font-size: 18px; font-weight: 600; }
.video-toggle,.button { background: rgba(10,10,10,.75); border: 2px solid var(--orange); border-radius: 14px; box-shadow: 0 0 8px rgba(255,101,0,.35),inset 0 0 8px rgba(255,101,0,.08); color: var(--white); font-size: 18px; font-weight: 500; }
.video-toggle:hover,.button:hover { box-shadow: 0 0 14px rgba(255,101,0,.7),0 0 28px rgba(255,101,0,.2); }
.contact-link { border-color: var(--orange); color: var(--white); }

@media(max-width:1120px) {
  .reference-hero h1 { font-size: clamp(68px,8vw,112px); }
  .reference-hero .hero-slogan { width: 30%; }
  .hero-quote { font-size: clamp(34px,3.55vw,52px) !important; }
}
@media(max-width:720px) {
  .reference-header nav { font-size: 12px; }
  .reference-hero h1 { font-size: clamp(48px,12vw,78px); line-height: .9; letter-spacing: -.035em; }
  .reference-hero .portrait { left: 51%; }
  .reference-hero .hero-slogan { width: 69%; }
  .hero-quote { font-size: clamp(29px,7vw,42px) !important; line-height: 1 !important; }
  .reference-hero .hero-note { font-size: 17px !important; }
  .reference-hero .hero-sub { width: auto; max-width: 320px; margin-left: 20px; font-size: 17px; text-align: left; }
  .project-summary,.second-text p { font-size: 17px; line-height: 1.5; }
  .case-content p { font-size: 17px; }
  .project-title { font-size: 34px; }
}
.reference-hero .hero-quote { font-size: clamp(33px,2.25vw,44px) !important; line-height: 1.08 !important; }
.reference-hero .hero-quote em { white-space: nowrap; }
.reference-hero .hero-note { font-size: clamp(17px,1.25vw,23px) !important; }
@media(max-width:720px) { .reference-hero .hero-quote { font-size: clamp(18px,4.5vw,28px) !important; } }
