:root {
  --navy-950: #0E1722;
  --navy-900: #121B26;
  --navy-800: #1F2E40;
  --navy-600: #364C63;
  --ink: #16202B;
  --ink-2: #4A5664;
  --ink-3: #6B7785;
  --line: #DCE1E6;
  --bg-gray: #F3F5F7;
  --amber: #F3B340;
  --amber-hover: #F8C766;
  --amber-ink: #8F5E00;
  --hd-h: 76px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; }
/* On the dark parts of a page the focus ring is amber. */
.hd :focus-visible, .hero :focus-visible, .page-head :focus-visible, .band-dark :focus-visible,
.cta :focus-visible, .ft :focus-visible, .player :focus-visible { outline-color: var(--amber); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: 12px; left: -9999px; z-index: 60; padding: 8px 14px; border-radius: 4px; font-weight: 700; color: var(--ink); background: #fff; }
.skip:focus { left: 16px; }

/* header: clear over the dark top of every page, solid once the page scrolls (assets/app.js adds .scrolled) */
.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 23, 34, .55), rgba(14, 23, 34, 0));
  transition: background-color .2s, box-shadow .2s;
}
.hd.scrolled, .hd.open { background: var(--navy-900); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hd-in { display: flex; align-items: center; gap: 40px; height: var(--hd-h); }
.logo { flex: none; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 36px; margin-left: auto; font-size: 16px; font-weight: 600; }
.nav a { padding: 6px 0; color: rgba(255, 255, 255, .82); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.menu-btn { display: none; flex: none; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.menu-btn .ico { width: 26px; height: 26px; }
.menu-btn .i-close, .hd.open .menu-btn .i-menu { display: none; }
.hd.open .menu-btn .i-close { display: block; }
/* The page behind the video player does not scroll. */
html:has(.player[open]) { overflow: hidden; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color .15s, border-color .15s;
}
.btn-accent { background: var(--amber); color: var(--navy-950); }
.btn-accent:hover { background: var(--amber-hover); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-900); }
.hd-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* home hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 88vh, 860px);
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}
/* The hero clip is a 4:3 frame with a 16:9 picture between dark bars. The video is 4/3 taller than the hero, so the bars fall outside it and the picture covers the hero. */
.hero-video { position: absolute; top: -17%; left: 0; width: 100%; height: 134%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 23, 34, .9) 0%, rgba(14, 23, 34, .7) 40%, rgba(14, 23, 34, .22) 100%),
    rgba(31, 46, 64, .18);
}
.hero-in { position: relative; width: 100%; padding-top: calc(var(--hd-h) + 48px); padding-bottom: 80px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; }
.hero-lead { max-width: 600px; margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-toggle {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  background: rgba(14, 23, 34, .45);
  cursor: pointer;
}
.hero-toggle:hover { background: rgba(14, 23, 34, .75); }
.hero-toggle .ico { width: 16px; height: 16px; }
.hero-toggle .i-play { fill: currentColor; }
.hero-toggle .i-play, .hero-toggle.paused .i-pause { display: none; }
.hero-toggle.paused .i-play { display: block; }

/* sections */
.band { padding: 112px 0; }
.band-gray { background: var(--bg-gray); }
.band-dark { background: var(--navy-800); color: #fff; }
.band-head { max-width: 760px; margin-bottom: 52px; }
.band-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.band-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.band-dark .band-head p { color: rgba(255, 255, 255, .74); }
/* a wide machine photo after a band's content */
.band-photo { margin: 80px 0 0; }
.band-photo img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; background: var(--navy-900); }

/* what we do */
.band-dark { padding: 96px 0; }
.caps-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.caps-wrap .band-head { margin: 0; }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid rgba(255, 255, 255, .2); }
.caps li { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; }
.caps .ico { width: 40px; height: 40px; stroke: var(--amber); stroke-width: 1.5; }
.caps b { display: block; font-size: 18px; font-weight: 700; line-height: 1.4; }
.caps b + span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .68); }

/* two big tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 24px; }
/* Width 100%: when the list tile beside it is taller, the photo tile stretches in height and must not widen with its 4:3 ratio. */
.tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; color: #fff; background: var(--navy-900); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 23, 34, 0) 30%, rgba(14, 23, 34, .62) 62%, rgba(14, 23, 34, .95) 100%);
}
.tile:hover img { transform: scale(1.03); }
.tile-txt { position: absolute; inset: auto 0 0; z-index: 1; padding: 36px; text-shadow: 0 1px 12px rgba(14, 23, 34, .45); }
.tile h3 { font-size: 30px; font-weight: 800; }
.tile p { margin-top: 8px; color: rgba(255, 255, 255, .88); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--amber); }
.more .ico { width: 18px; height: 18px; transition: transform .2s; }
.tile:hover .more .ico { transform: translateX(4px); }
/* The custom automation tile has no photo. It lists the categories (machines:capability-tags) in two columns, and grows taller with the list if it needs to. */
.tile-list { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 36px; aspect-ratio: auto; background: var(--navy-800); }
.tile-list::after { display: none; }
.tile-list .tile-txt { position: static; padding: 0; text-shadow: none; }
.tile-tags { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.tile-tags li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 17px; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.tile-tags li:nth-child(-n+2) { padding-top: 0; }
.tile-list:hover .tile-tags li { border-color: rgba(255, 255, 255, .26); }

/* company and A/S notes on the home page, and the two columns of the company page */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.band-gray .two > div { padding-top: 28px; border-top: 2px solid var(--navy-800); }
.two h2 { font-size: 26px; font-weight: 800; }
.two p { margin-top: 12px; color: var(--ink-2); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--navy-600); }
.link .ico { width: 18px; height: 18px; transition: transform .2s; }
.link:hover { color: var(--ink); }
.link:hover .ico { transform: translateX(4px); }

/* contact band */
.cta { padding: 100px 0; text-align: center; color: #fff; background: var(--navy-900); }
.cta h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.cta p { max-width: 640px; margin: 16px auto 0; color: rgba(255, 255, 255, .76); text-wrap: balance; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* footer */
.ft { padding: 56px 0 48px; font-size: 14px; color: rgba(255, 255, 255, .6); background: var(--navy-950); }
.ft-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ft-logo { flex: none; }
.ft-logo img { height: 28px; width: auto; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 600; }
.ft-nav a { color: rgba(255, 255, 255, .78); }
.ft-nav a:hover { color: #fff; }
.ft-business { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-business > span { white-space: nowrap; }
.ft-info p + p { margin-top: 4px; }
.ft-info b { font-weight: 600; color: #fff; }
.ft-info a:hover { color: #fff; }
.ft-copy { margin-top: 20px; color: rgba(255, 255, 255, .55); }
.ft-copy a { margin-left: 20px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ft-copy a:hover { color: #fff; }

/* inner page head: a darkened machine photo, set per page with --ph-img */
.page-head {
  padding: calc(var(--hd-h) + 88px) 0 84px;
  color: #fff;
  background-color: var(--navy-800);
  background-image:
    linear-gradient(90deg, rgba(14, 23, 34, .95) 0%, rgba(14, 23, 34, .86) 45%, rgba(14, 23, 34, .55) 100%),
    var(--ph-img, none);
  background-position: center;
  background-size: cover;
}
.page-head h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.page-head p { max-width: 720px; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .82); }

/* machine cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: var(--navy-900);
  cursor: pointer;
}
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); }
.card-media video { opacity: 0; transition: opacity .25s; }
.card-media.previewing video { opacity: 1; }
.play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 23, 34, .74);
  transition: background-color .15s;
}
.play svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.card-media:hover .play { background: var(--amber); }
.card-media:hover .play svg { fill: var(--navy-950); }
.card h3 { margin-top: 20px; font-size: 21px; font-weight: 700; }
.card p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }

.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.feature h3 { font-size: 28px; font-weight: 800; }
.feature p { margin-top: 14px; color: var(--ink-2); }
.feature .note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }
.sub-head { margin: 104px 0 28px; }
.sub-head h2 { font-size: 26px; font-weight: 800; }

.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.mini-2 { grid-template-columns: repeat(2, 1fr); }
.mini-4 { grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.mini li { padding: 22px 0; border-top: 1px solid var(--line); }
.mini b { display: block; font-size: 18px; font-weight: 700; }
.mini span { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.band-gray .mini { margin-top: 64px; }

/* a machine opened from a shared link such as /machines/#slitter */
.card:target h3, .feature:target h3, .mini li:target b { color: var(--amber-ink); }

/* custom page */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); }
.steps li { position: relative; padding: 24px 16px 0 0; border-top: 2px solid var(--navy-800); font-size: 19px; font-weight: 700; line-height: 1.4; }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.steps b { display: block; margin-bottom: 6px; font-size: 14px; color: var(--amber-ink); }
.steps span { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink-2); }

/* company page */
.two .col-h { margin-bottom: 18px; font-size: 22px; font-weight: 800; }
.info { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 2px solid var(--navy-800); }
.info dt, .info dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 600; color: var(--ink-3); }
.info dd { min-width: 0; overflow-wrap: anywhere; }
.info a:hover { color: var(--navy-600); }
.info .address { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.info .map-link { display: inline-flex; align-items: center; min-height: 28px; color: var(--navy-600); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.plain { border-top: 2px solid var(--navy-800); }
.plain li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.plain h3 { font-size: 17px; font-weight: 700; }
.plain p { margin-top: 6px; font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--ink-2); }

/* contact page: a single centered inquiry form */
.contact-main { width: 100%; min-width: 0; max-width: 760px; margin-inline: auto; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.f-note { font-size: 15px; color: var(--ink-3); }
.req { margin-left: 3px; font-weight: 700; color: #B54708; }
.f label, .f-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.f input, .f textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #B5BEC8;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.f textarea { min-height: 188px; resize: vertical; line-height: 1.65; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-3); opacity: 1; }
.f input:hover, .f textarea:hover { border-color: var(--ink-3); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(54, 76, 99, .16); }
.f [aria-invalid="true"], .f [aria-invalid="true"]:hover { border-color: #C4320A; }
.f [aria-invalid="true"]:focus { border-color: #C4320A; box-shadow: 0 0 0 3px rgba(196, 50, 10, .14); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips label { position: relative; font-weight: 600; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-2);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chips label:hover span { border-color: #B5BEC8; color: var(--ink); }
.chips input:checked + span { border-color: var(--navy-800); color: #fff; background: var(--navy-800); }
.chips input:focus-visible + span { outline: 3px solid var(--navy-600); outline-offset: 3px; }
.chips[aria-invalid="true"] span, .chips[aria-invalid="true"] label:hover span { border-color: #C4320A; }
.f-err { margin-top: 8px; font-size: 15px; font-weight: 600; color: #B42318; }
.f-alt { font-size: 15px; color: var(--ink-2); }
.f-alt a { font-weight: 600; color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.f-hint { display: none; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.f-cat:has(input[value="service"]:checked) .f-hint-as { display: block; }
.f-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 28px 30px; border-radius: 4px; background: var(--bg-gray); }
.f-more-h { font-size: 17px; font-weight: 800; }
.f-more-h span { margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 22px 20px;
  border: 1.5px dashed #AEB8C2;
  border-radius: 4px;
  font-weight: 400;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.over { border-color: var(--navy-600); background: #FAFBFC; }
.drop .ico { width: 26px; height: 26px; margin-bottom: 6px; color: var(--navy-600); }
.drop b { color: var(--navy-600); }
.drop small { font-size: 14px; color: var(--ink-3); }
#f-files:focus-visible + .drop { outline: 3px solid var(--navy-600); outline-offset: 3px; }
.file-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 10px 6px 10px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; background: #fff; }
.file-list .fn { grid-column: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.45; }
.file-list .fs { grid-column: 1; font-size: 13px; color: var(--ink-3); }
.file-list button { display: grid; grid-column: 2; grid-row: 1 / 3; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--ink-3); background: none; cursor: pointer; }
.file-list button:hover { color: var(--ink); background: var(--bg-gray); }
.file-list button .ico { width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { padding: 14px 18px; border-left: 3px solid #C4320A; font-weight: 600; color: #9A2A08; background: #FEF3EE; }
.f-status a { display: block; width: fit-content; min-height: 32px; margin-top: 8px; padding: 2px 0; color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; }
.f-status:empty { display: none; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.f-privacy { max-width: 540px; font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.f-privacy a { font-weight: 600; color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; }
.f-submit { flex: none; min-width: 180px; border: 0; font-family: inherit; cursor: pointer; }
.f-submit:disabled { opacity: .65; cursor: progress; }
.f-done { padding: 48px 44px; border-top: 3px solid var(--amber); background: var(--bg-gray); }
.f-done:focus { outline: none; }
.f-done > .ico { width: 44px; height: 44px; stroke-width: 1.6; color: var(--amber-ink); }
.f-done h2 { margin-top: 18px; font-size: 28px; font-weight: 800; }
.f-done p { margin-top: 8px; font-size: 18px; color: var(--ink-2); }

/* privacy page */
.doc > * { max-width: 820px; }
.doc h2 { margin: 52px 0 14px; font-size: 22px; font-weight: 800; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p, .doc ul + p, .doc p + ul, .doc .doc-table + p { margin-top: 12px; }
.doc ul { padding-left: 22px; list-style: disc; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-table { margin-top: 14px; overflow-x: auto; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; border-top: 2px solid var(--navy-800); font-size: 16px; }
.doc th, .doc td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { font-weight: 700; color: var(--ink); }
.doc td { color: var(--ink-2); }

/* video player */
.player { width: min(1100px, 92vw, calc((100vh - 150px) * 16 / 9)); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.player::backdrop { background: rgba(8, 13, 20, .88); }
.player-media { position: relative; }
.player video { width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; background: #000; }
.player-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; border-radius: 4px; background: rgba(14, 23, 34, .94); color: #fff; text-align: center; line-height: 1.5; }
.player-retry { min-height: 44px; font-family: inherit; cursor: pointer; }
.player-cap { display: flex; align-items: flex-start; gap: 20px; margin-top: 16px; color: #fff; }
.player-cap div { flex: 1; }
.player-cap b { display: block; font-size: 20px; }
.player-cap span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .75); }
.player-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .14); cursor: pointer; }
.player-x:hover { background: rgba(255, 255, 255, .26); }

@media (max-width: 1080px) {
  .caps-wrap { grid-template-columns: 1fr; gap: 36px; }
  .caps { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .two { gap: 48px; }
  .info { grid-template-columns: 112px minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}

@media (max-width: 760px) {
  :root { --hd-h: 64px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .band-photo { margin-top: 48px; }
  .band-photo img { aspect-ratio: 16 / 10; object-position: 40% 50%; }
  .hd-in { gap: 12px; }
  .logo img { height: 27px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hd-cta { min-height: 40px; margin-left: auto; padding: 0 14px; font-size: 14px; }
  .hd.open .nav {
    position: absolute;
    top: var(--hd-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 20px 20px;
    background: var(--navy-900);
  }
  .hd.open .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: none; }
  .hd.open .nav a[aria-current="page"] { color: var(--amber); }
  /* The open menu dims the page below it; a tap there closes the menu (assets/app.js). */
  .hd.open .nav { z-index: 1; box-shadow: 0 12px 24px rgba(8, 13, 20, .3); }
  .hd.open::after { content: ""; position: fixed; inset: var(--hd-h) 0 0; background: rgba(8, 13, 20, .55); }
  html:has(.hd.open) { overflow: hidden; }
  .hero { min-height: 0; }
  .hero-shade { background: linear-gradient(90deg, rgba(14, 23, 34, .86) 0%, rgba(14, 23, 34, .66) 100%); }
  .hero-in { padding-top: calc(var(--hd-h) + 72px); padding-bottom: 76px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .hero-toggle { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .band { padding: 72px 0; }
  .band-head { margin-bottom: 36px; }
  .band-head p { font-size: 17px; }
  .band-dark { padding: 40px 0; }
  .caps-wrap { gap: 20px; }
  .caps { grid-template-columns: 1fr; row-gap: 0; }
  .caps li { flex-direction: row; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .caps .ico { width: 28px; height: 28px; margin-top: 1px; }
  .caps b { font-size: 17px; }
  .caps b + span { margin-top: 2px; }
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile-txt { padding: 24px; }
  .tile h3 { font-size: 24px; }
  .tile-list { gap: 28px; padding: 24px; }
  .tile-tags li { padding: 8px 0; font-size: 16px; }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .band-gray .two > div { padding-top: 22px; }
  .two h2 { font-size: 22px; }
  .cta { padding: 72px 0; }
  .cta-btns .btn { width: 100%; }
  .ft { padding: 44px 0 40px; }
  .ft-top { flex-direction: column; align-items: flex-start; }
  .ft-logo img { height: 26px; }
  .page-head { padding: calc(var(--hd-h) + 52px) 0 56px; }
  .page-head p { font-size: 17px; }
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature h3 { font-size: 24px; }
  .sub-head { margin-top: 72px; }
  .mini, .mini-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps li { font-size: 17px; }
  .steps span { margin-top: 6px; font-size: 14px; }
  .info { grid-template-columns: 112px minmax(0, 1fr); }
  .chips { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 22px; }
  .f-more { padding: 22px 18px 24px; }
  .drop-or { display: none; }
  .f-foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .f-submit { width: 100%; }
  .f-done { padding: 36px 24px; }
  .doc h2 { margin-top: 44px; font-size: 20px; }
  .player-cap b { font-size: 18px; }
  .br-d { display: none; }
}

@media (max-width: 380px) {
  .info { grid-template-columns: minmax(0, 1fr); }
  .info dt { padding: 16px 0 4px; border-bottom: 0; }
  .info dd { padding: 0 0 16px; }
}

@media (max-width: 350px) {
  .hd-in { gap: 8px; }
  .logo img { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .tile img, .more .ico, .link .ico, .card-media video { transition: none; }
}

/* Shown for a few seconds after a mail button copies the address (assets/app.js). */
.mail-note { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 70; max-width: calc(100% - 32px); padding: 13px 20px; border-left: 4px solid var(--amber); border-radius: 4px; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: 0 8px 28px rgba(14, 23, 34, .28); opacity: 0; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.mail-note.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .mail-note { transition: none; transform: translate(-50%, 0); } }


