/* cooper-steel.com : glassblowing theme, furnace dark base.
   Palette: ink #181210 (furnace black), ember #d96a2a (molten), glass #5a9aa8 (cooled). */

:root {
  --ink: #181210;
  --ink-2: #211713;
  --panel: #1d1512;
  --cream: #f4e7d8;
  --cream-dim: #d8c3ac;
  --muted: #c8ab93;
  --ember: #d96a2a;
  --glass: #5a9aa8;
  --line-ember: rgba(217, 106, 42, .22);
  --line-glass: rgba(90, 154, 168, .26);
  --display: 'Fredericka the Great', Georgia, 'Times New Roman', serif;
  --text: 'Kalam', 'Trebuchet MS', system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.72 var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

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

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink);
  border-bottom: 1px solid var(--line-ember);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 70px; padding-top: 10px; padding-bottom: 10px;
}

.wordmark {
  font: 400 30px/1 var(--display);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: .4px;
  position: relative;
  flex: 0 0 auto;
}
.wordmark::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--glass)); opacity: .55;
}

.main-nav {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem 1.05rem; font-size: 16px;
}

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--ember); border-bottom-color: currentColor; }
.main-nav a[aria-current="page"] { color: var(--glass); border-bottom-color: currentColor; }
.main-nav a.btn { color: #1b1009; }
.main-nav a.btn:hover, .main-nav a.btn:focus-visible { color: #141110; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-block;
  background: var(--ember);
  color: #1b1009;
  font: 700 17px/1 var(--text);
  padding: .85rem 1.4rem;
  border: 1px solid rgba(255, 226, 196, .28);
  border-radius: 3px 18px 3px 18px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(217, 106, 42, .2);
}
.btn:hover, .btn:focus-visible {
  background: var(--glass);
  color: #141110;
  border-color: rgba(226, 244, 249, .4);
}
.btn-sm { font-size: 16px; padding: .58rem 1.05rem; }
.btn-lg { font-size: 19px; padding: 1rem 1.7rem; }
.main-nav a.btn {
  background: var(--ember);
  color: #1b1009;
  border: 1px solid rgba(255, 226, 196, .28);
  border-radius: 3px 16px 3px 16px;
  padding: .58rem 1.05rem;
  font-weight: 700;
  text-decoration: none;
}
.main-nav a.btn:hover, .main-nav a.btn:focus-visible {
  background: var(--glass);
  color: #141110;
  border-color: rgba(226, 244, 249, .4);
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 52px;
  border-bottom: 1px solid rgba(244, 231, 216, .06);
}

.hero-glow {
  position: absolute; left: 50%; top: -140px;
  width: min(1240px, 132vw); height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 106, 42, .2), rgba(217, 106, 42, .05) 58%, rgba(217, 106, 42, 0));
  pointer-events: none;
}

.hero-pipe {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center;
  pointer-events: none; z-index: 1; opacity: .8;
}
.pipe-svg { width: min(1240px, 124%); height: auto; }

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}

.hero-kicker {
  margin: 0; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--glass);
}

.hero-name {
  margin: 0;
  font: 400 clamp(46px, 9vw, 86px)/1 var(--display);
  color: #fdf3e6;
  text-shadow: 0 0 34px rgba(217, 106, 42, .28);
}

.hero-lead { margin: 0; max-width: 62ch; font-size: 19px; color: var(--cream-dim); }

.hero-figure { position: relative; margin: 6px 0 8px; width: 100%; max-width: 600px; }
.hero-figure img {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  border: 1px solid rgba(244, 231, 216, .16);
  border-radius: 4px;
}
.hero-figure::before {
  content: ''; position: absolute; z-index: 0;
  left: -16px; right: -16px; top: -14px; bottom: -10px;
  border: 1px solid rgba(217, 106, 42, .32);
  border-radius: 160px 160px 6px 6px / 118px 118px 6px 6px;
  background: radial-gradient(120% 100% at 50% 10%, rgba(217, 106, 42, .2), rgba(217, 106, 42, .02) 62%, rgba(217, 106, 42, 0));
}

/* ---------------------------------------------------------------- modules -- */
.mod { padding: 62px 0; border-bottom: 1px solid rgba(244, 231, 216, .06); }
.mod-partners { background: linear-gradient(180deg, #1a1311, var(--ink)); }
.mod-gallery { background: linear-gradient(180deg, #171110, var(--ink)); }

.mod-head { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; }

.mod-num {
  flex: 0 0 auto;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(217, 106, 42, .42);
  border-radius: 50%;
  color: var(--ember);
  font: 700 15px/1 var(--text);
  box-shadow: inset 0 0 20px rgba(217, 106, 42, .18);
}

.eyebrow {
  margin: 0 0 3px; font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--glass);
}

.mod-head h2, .body-h2, .film-group h2 {
  margin: 0;
  font: 400 clamp(26px, 3.4vw, 38px)/1.1 var(--display);
  color: #fdf3e6;
}

.mod-lead { margin: -8px 0 8px; max-width: 70ch; color: var(--muted); }

/* -------------------------------------------------------------- partners -- */
.partner-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.partner-card {
  display: grid; place-items: center;
  aspect-ratio: 250 / 150;
  background: #fbf6ef;
  border: 1px solid rgba(217, 106, 42, .3);
  border-radius: 3px 14px 3px 14px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.partner-card img { width: 100%; height: 100%; object-fit: contain; }
.partner-card:hover { border-color: var(--glass); box-shadow: 0 0 24px rgba(90, 154, 168, .28); }

/* -------------------------------------------------------- quick profile -- */
.furnace-grid {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.furnace-card {
  position: relative; overflow: hidden;
  padding: 40px 18px 20px;
  background: linear-gradient(180deg, #241a15, #191210);
  border: 1px solid var(--line-ember);
  border-radius: 64px 64px 4px 4px / 46px 46px 4px 4px;
}
.furnace-card::before {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 160%; height: 74%; transform: translateX(-50%);
  background: radial-gradient(58% 100% at 50% 108%, rgba(217, 106, 42, .3), rgba(217, 106, 42, 0) 72%);
  pointer-events: none;
}
.f-label {
  position: relative; display: block; margin-bottom: 6px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--glass);
}
.f-value { position: relative; display: block; font-weight: 700; font-size: 18px; line-height: 1.42; color: var(--cream); }

.tag-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row li {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-glass);
  border-radius: 999px;
  background: rgba(90, 154, 168, .06);
}
.t-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--glass); }
.t-v { font-size: 16px; color: var(--cream-dim); }

/* ----------------------------------------------------------------- about -- */
.about-grid {
  display: grid; gap: 38px; align-items: start;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}
.about-text p { margin: 0 0 1.05em; max-width: 66ch; color: var(--cream-dim); }

.pull-quote {
  margin: 0; padding: 22px 24px;
  border-left: 2px solid var(--ember);
  background: linear-gradient(90deg, rgba(217, 106, 42, .1), rgba(217, 106, 42, 0));
  border-radius: 0 4px 4px 0;
}
.pull-quote p { margin: 0 0 10px; font: 400 26px/1.35 var(--display); color: #fdf3e6; }
.pull-quote cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ flow strip -- */
.flow-steps {
  position: relative; list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.flow-steps::before {
  content: ''; position: absolute; top: 8px; left: 6px; right: 6px; height: 2px;
  background: linear-gradient(90deg, var(--ember), #bb5a22 52%, var(--glass));
  opacity: .6;
}
.flow-steps li { position: relative; padding-top: 30px; }
.flow-steps li::before {
  content: ''; position: absolute; top: 1px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffd6a6, var(--ember) 62%, #a8441a);
  box-shadow: 0 0 16px rgba(217, 106, 42, .5);
}
.flow-steps li:nth-child(4)::before {
  background: radial-gradient(circle at 34% 30%, #cfe9ee, var(--glass) 62%, #33606c);
  box-shadow: 0 0 16px rgba(90, 154, 168, .45);
}
.step-when { display: block; margin-bottom: 2px; font-weight: 700; font-size: 16px; color: var(--ember); }
.step-what { display: block; font-size: 16px; color: var(--cream-dim); }

/* --------------------------------------------------------------- gallery -- */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 236px;
}
.g-item {
  margin: 0; position: relative; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-glass);
  border-radius: 3px 18px 3px 18px;
}
.g-item img { width: 100%; height: 100%; object-fit: contain; }
.g-tall { grid-row: span 2; }

/* ---------------------------------------------------------------- social -- */
.social-list { display: grid; gap: 12px; max-width: 720px; }
.social-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  padding: 16px 20px;
  border: 1px solid var(--line-ember);
  border-radius: 3px 16px 3px 16px;
  background: linear-gradient(90deg, rgba(217, 106, 42, .08), rgba(217, 106, 42, 0) 72%);
  text-decoration: none;
  transition: border-color .18s ease;
}
.social-row:hover { border-color: var(--glass); }
.s-platform { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glass); }
.s-handle { font-weight: 700; font-size: 18px; color: var(--cream); }
.s-status { flex: 1 1 100%; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  padding: 34px 0;
  background: #150f0d;
  border-top: 1px solid var(--line-ember);
}
.footer-grid { display: grid; gap: 22px; align-items: center; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font: 400 24px/1.1 var(--display); color: var(--cream); }
.brand-line { font-size: 14px; color: var(--muted); }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; }
.language-nav a { color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid transparent; }
.language-nav a:hover { color: var(--ember); border-bottom-color: currentColor; }
.language-nav a[aria-current="page"] { color: var(--glass); }
.footer-legal { margin: 0; font-size: 14px; color: var(--muted); text-align: right; }

/* -------------------------------------------------------------- subpages -- */
.page-top {
  position: relative; overflow: hidden;
  padding: 52px 0 26px;
  border-bottom: 1px solid rgba(244, 231, 216, .07);
}
.page-top h1 {
  margin: .12em 0 .34em;
  font: 400 clamp(36px, 6vw, 64px)/1.05 var(--display);
  color: #fdf3e6;
}
.page-top .lead { margin: 0; max-width: 72ch; font-size: 18px; color: var(--cream-dim); }

.page-body { padding: 46px 0 72px; }

.prose { max-width: 840px; }
.prose-block { margin-bottom: 38px; }
.prose-block h2 { margin: 0 0 12px; font: 400 clamp(24px, 3vw, 32px)/1.15 var(--display); color: #fdf3e6; }
.prose-block h2::before {
  content: ''; display: block; width: 46px; height: 2px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--ember), var(--glass));
}
.prose-block p { margin: 0 0 1em; color: var(--cream-dim); }

.flow { position: relative; list-style: none; margin: 0 0 46px; padding: 0 0 0 44px; }
.flow::before {
  content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--ember), #a8481c 55%, var(--glass));
  opacity: .85;
}
.flow-item { position: relative; padding-bottom: 22px; }
.flow-item::before {
  content: ''; position: absolute; left: -40px; top: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffd6a6, var(--ember) 60%, #a8441a);
  box-shadow: 0 0 14px rgba(217, 106, 42, .45);
}
.flow-item:nth-child(2n)::before {
  background: radial-gradient(circle at 34% 30%, #d9edf1, var(--glass) 60%, #33606c);
  box-shadow: 0 0 14px rgba(90, 154, 168, .35);
}
.flow-when { display: block; font-weight: 700; font-size: 16px; color: var(--ember); }
.flow-item:nth-child(2n) .flow-when { color: var(--glass); }
.flow-what { display: block; max-width: 74ch; color: var(--cream-dim); }

.studio-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; max-width: 900px; }
.studio-item {
  display: grid; gap: 6px 18px; grid-template-columns: 230px minmax(0, 1fr);
  padding: 14px 18px;
  border: 1px solid var(--line-glass);
  border-radius: 3px 14px 3px 14px;
  background: rgba(90, 154, 168, .05);
}
.studio-name { font-weight: 700; color: var(--glass); }
.studio-note { font-size: 16px; color: var(--cream-dim); }

.body-note {
  max-width: 84ch; padding-top: 14px;
  border-top: 1px solid rgba(244, 231, 216, .1);
  font-size: 15px; color: var(--muted);
}

.film-group { margin-bottom: 40px; }
.film-group h2 { margin-bottom: 8px; }
.group-note { margin: 0 0 14px; max-width: 84ch; font-size: 15px; color: var(--muted); }
.film-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.film-list li {
  display: grid; gap: 4px 14px; grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 14px;
  border-left: 2px solid rgba(217, 106, 42, .38);
  background: rgba(244, 231, 216, .03);
}
.film-list li:nth-child(2n) { border-left-color: rgba(90, 154, 168, .38); background: rgba(90, 154, 168, .045); }
.f-title { color: var(--cream); }
.f-meta { font-size: 15px; color: var(--muted); text-align: right; }

.faq-list { max-width: 880px; }
.faq-item { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid rgba(244, 231, 216, .08); }
.faq-item h2 { margin: 0 0 8px; font: 400 clamp(20px, 2.4vw, 27px)/1.2 var(--display); color: #fdf3e6; }
.faq-item p { margin: 0; max-width: 80ch; color: var(--cream-dim); }

.page-404 .page-top { padding: 108px 0 132px; }
.top-action { margin: 28px 0 0; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1080px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .furnace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .flow-steps::before { display: none; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
}

@media (max-width: 700px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav { justify-content: flex-start; font-size: 15px; }
  .hero { padding: 36px 0 48px; }
  .hero-pipe { display: none; }
  .hero-figure::before { left: -12px; right: -12px; top: -16px; bottom: -12px; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .g-item { aspect-ratio: 4 / 3; }
  .g-tall { grid-row: auto; aspect-ratio: 3 / 4; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { text-align: left; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); }
  .film-list li { grid-template-columns: minmax(0, 1fr); }
  .f-meta { text-align: left; }
  .studio-item { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .furnace-grid { grid-template-columns: minmax(0, 1fr); }
  .page-top h1 { font-size: clamp(32px, 9vw, 44px); }
}
