:root {
  --ink: #17201d;
  --muted: #62706a;
  --paper: #f5f3ed;
  --white: #ffffff;
  --pine: #164f3d;
  --pine-dark: #0d382b;
  --lime: #d9ef73;
  --coral: #e93645;
  --red-dark: #b51f31;
  --red-soft: #f9e1e4;
  --line: #d9ddd7;
  --shadow: 0 24px 70px rgba(21, 44, 35, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
main > section { position: relative; }
main > section + section:before { content: ""; position: absolute; z-index: 2; top: 0; left: max(20px, calc((100% - 1180px) / 2)); right: max(20px, calc((100% - 1180px) / 2)); height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 12px, transparent 12px 21px); opacity: .68; }
main > section + section:after { content: ""; position: absolute; z-index: 3; top: -5px; left: calc(50% - 25px); width: 50px; height: 10px; border-top: 2px solid var(--coral); border-radius: 50%; transform: rotate(-6deg); }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--pine); display: flex; align-items: center; gap: 8px; }
.eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: 0 0 auto; }
.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 46px; }
.section-head h2, .page-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.055em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 610px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--pine); background: var(--pine); color: var(--white); text-decoration: none; font-weight: 750; cursor: pointer; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.alt { background: transparent; color: var(--pine); }
.btn.light { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.light:hover { background: #cbe160; }
.placeholder-note { background: #fff3cd; border: 1px solid #efd479; color: #6d5412; padding: 10px 14px; border-radius: 12px; font-size: .88rem; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(23,32,29,.1); background: rgba(245,243,237,.92); backdrop-filter: blur(15px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; text-decoration: none; letter-spacing: -.025em; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.brand-word { font-size: 1.04rem; letter-spacing: .015em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 680; }
.nav-links a:hover, .nav-links a.active { color: var(--pine); }
.menu-btn { display: none; border: 0; background: var(--white); width: 44px; height: 44px; border-radius: 50%; font-weight: 900; }

.hero { padding: 70px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 7.5vw, 7.2rem); letter-spacing: -.07em; line-height: .84; margin: 18px 0 26px; max-width: 780px; }
.hero h1 em { display: block; color: var(--coral); font-style: normal; }
.hero-copy { font-size: 1.14rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-art { min-height: 570px; border-radius: 36px; background: var(--pine); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero-art:before { content: ""; position: absolute; width: 410px; height: 410px; border-radius: 50%; background: var(--lime); right: -125px; top: -100px; }
.ribbon { position: absolute; color: var(--ink); font-weight: 900; letter-spacing: .1em; text-align: center; box-shadow: 0 20px 30px rgba(0,0,0,.15); }
.ribbon.one { background: #fff; width: 340px; padding: 35px 10px; left: 60px; top: 90px; transform: rotate(-8deg); }
.ribbon.two { background: var(--coral); width: 410px; padding: 22px 10px; right: -70px; top: 278px; transform: rotate(12deg); }
.ribbon.three { background: #f2dbbd; width: 300px; padding: 38px 10px; left: 92px; bottom: 58px; transform: rotate(5deg); border: 3px dotted #81654a; }
.mini-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 50px; }
.mini-proof div { border-top: 1px solid var(--line); padding-top: 14px; }
.mini-proof strong { display: block; font-size: 1rem; }
.mini-proof span { color: var(--muted); font-size: .88rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: var(--white); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-visual { height: 230px; position: relative; overflow: hidden; display: grid; place-items: center; background: #e8e6dd; }
.product-visual:has(img):before, .product-visual:has(img):after { display: none; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-visual img { transform: scale(1.035); }
.product-visual:before { content: ""; width: 170px; height: 96px; background: var(--card, var(--pine)); border-radius: var(--radius, 4px); box-shadow: 0 18px 28px rgba(0,0,0,.14); transform: rotate(var(--rotate, -7deg)); border: 3px dashed rgba(255,255,255,.7); }
.product-visual:after { content: attr(data-label); position: absolute; font-size: .77rem; font-weight: 900; letter-spacing: .08em; color: var(--text, #fff); transform: rotate(var(--rotate, -7deg)); }
.product-card:nth-child(2) .product-visual { background: #d9e3d6; --card:#f8eddc; --text:#17201d; --rotate:6deg; }
.product-card:nth-child(3) .product-visual { background: var(--red-soft); --card:var(--coral); --rotate:-4deg; --radius:50%; }
.product-card:nth-child(4) .product-visual { background: #d7dee7; --card:#1b2a41; --rotate:8deg; }
.product-card:nth-child(5) .product-visual { background: #ece0c8; --card:#8c6239; --rotate:-8deg; }
.product-card:nth-child(6) .product-visual { background: #d9eadf; --card:#2d745a; --rotate:5deg; --radius:18px; }
.product-card:nth-child(7) .product-visual { background: #e2d9ee; --card:#684c88; --rotate:-5deg; --radius:16px; }
.product-card:nth-child(8) .product-visual { background: #dee6e6; --card:#fff; --text:#17201d; --rotate:3deg; }
.product-body { padding: 22px; position: relative; }
.product-body:before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; border-top: 1px dashed rgba(201,39,63,.48); }
.product-body h3 { margin: 0 0 6px; font-size: 1.15rem; }
.product-body p { margin: 0; color: var(--muted); font-size: .94rem; }

.process { background: var(--ink); color: var(--white); }
.process .eyebrow { color: var(--lime); }
.process .section-head p { color: #bec8c3; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #3c4743; }
.step { padding: 34px 24px 10px 0; }
.step span { display: grid; place-items: center; width: 40px; height: 40px; background: var(--lime); color: var(--ink); border-radius: 50%; font-weight: 900; }
.step h3 { margin: 24px 0 8px; }
.step p { color: #aeb9b4; font-size: .93rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.capability-art { min-height: 520px; background: #e0ded5; border-radius: 32px; position: relative; overflow: hidden; }
.capability-art .loom { position: absolute; inset: 70px; border: 20px solid var(--pine); }
.capability-art .loom:before { content: ""; position: absolute; inset: 16px; background: repeating-linear-gradient(90deg, var(--coral) 0 7px, transparent 7px 16px), repeating-linear-gradient(0deg, var(--lime) 0 7px, transparent 7px 16px); opacity: .75; }
.check-list { list-style: none; padding: 0; margin: 28px 0; }
.check-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li:before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: var(--pine); }

.quote-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  gap: 12px;
  margin: 0;
}
.quote-highlights > div {
  padding: 22px 18px;
  border-radius: 12px;
  background: var(--pine);
  color: #fff;
}
.quote-highlights dt { font-weight: 700; }
.quote-highlights dd {
  margin: 6px 0 0;
  color: var(--lime);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.cta { padding: 90px 0; background: var(--coral); }
.cta-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; letter-spacing: -.055em; max-width: 780px; }
.site-footer { background: var(--pine-dark); color: white; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-grid h3 { color: var(--lime); }
.footer-grid a { display: block; text-decoration: none; color: #cfddd7; margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 40px; padding-top: 22px; color: #9fb2aa; font-size: .88rem; }

.page-hero { padding: 86px 0 68px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 690px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.spec-card h3 { margin-top: 0; }
.timeline { border-left: 2px solid var(--pine); padding-left: 30px; }
.timeline article { position: relative; padding: 0 0 35px 15px; }
.timeline article:before { content:""; width: 14px; height: 14px; border-radius:50%; background:var(--coral); position:absolute; left:-38px; top:7px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.contact-card { background: var(--pine); color: white; border-radius: 28px; padding: 36px; }
.contact-card p { color: #c8d7d1; }
.contact-card strong { color: var(--lime); }
.quote-form { background: white; padding: 36px; border-radius: 28px; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 780; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd1cc; border-radius: 12px; padding: 13px 14px; background: #fff; color: var(--ink); }
.field textarea { min-height: 135px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pine) 50%), linear-gradient(135deg, var(--pine) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #fff3cd; color: #6d5412; display: none; }
.form-status.show { display: block; }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 470px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 70px 0; }
  main > section + section:before { left: 14px; right: 14px; background-size: auto; opacity: .5; }
  main > section + section:after { width: 34px; left: calc(50% - 17px); }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 18px; background: white; border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .menu-btn { display: block; }
  .hero { padding-top: 45px; }
  .hero h1 { font-size: clamp(3rem, 18vw, 5rem); }
  .hero-art { min-height: 520px; }
  .ribbon.one { left: 25px; top: 70px; width: 280px; }
  .ribbon.two { top: 215px; width: 330px; }
  .ribbon.three { left: 40px; width: 250px; bottom: 35px; }
  .mini-proof, .product-grid, .process-grid, .spec-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-visual { height: 210px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

.product-card[data-gallery] { scroll-margin-top: 100px; }
.product-visual.gallery-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #f4f2ed;
}
.product-visual.gallery-frame img { display: block; object-fit: contain; }
.product-card:hover .product-visual.gallery-frame img { transform: none; }
.gallery-open { display: block; height: 100%; cursor: zoom-in; }
[data-cover] { cursor: zoom-in; }
.gallery-open, .gallery-dialog img { touch-action: pan-y pinch-zoom; }
.gallery-prev, .gallery-next, .gallery-close {
  position: absolute;
  z-index: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  font: 1.65rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.gallery-prev, .gallery-next { top: 50%; transform: translateY(-50%); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-count {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  padding: 4px 10px;
  background: var(--pine);
  color: #fff;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
/* Keep the touch target larger than the visible arrow. */
.gallery-frame :is(.gallery-prev, .gallery-next) {
  border: 0;
  background: transparent;
  color: rgb(0 0 0 / 65%);
  font-size: 1rem;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff;
}
.gallery-frame .gallery-prev { left: 0; }
.gallery-frame .gallery-next { right: 0; }
.gallery-frame :is(.gallery-prev, .gallery-next):is(:hover, :focus-visible) {
  color: #111;
}
.gallery-frame .gallery-count {
  bottom: 6px;
  padding: 0;
  background: transparent;
  color: rgb(0 0 0 / 75%);
  font-size: .7rem;
  line-height: 1.3;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff;
}
.gallery-open:focus-visible, [data-cover]:focus-visible { outline-offset: -4px; }
.gallery-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  width: min(94vw, 116vh, 1040px);
  max-width: none;
  max-height: none;
  aspect-ratio: 4 / 3;
  background: #f4f2ed;
}
.gallery-dialog::backdrop { background: rgb(13 24 20 / 82%); }
.gallery-dialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-close { top: 8px; right: 8px; }

.shipment-link { margin: 24px 0 0; scroll-margin-top: 100px; }
.shipment-link a { color: var(--pine); font-weight: 700; text-decoration: underline; }
.shipment-photo--top img { object-position: center top; }
.shipment-photo--upper img { object-position: center 25%; }
.shipment-photo--center img { object-position: center; }

.shipment-preview { padding-block: 44px; scroll-margin-top: 100px; }
.shipment-preview-heading { margin-bottom: 16px; }
.shipment-preview-heading h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.35rem); }
.shipment-preview-heading p { margin: 4px 0 0; color: var(--muted); }
.shipment-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  border-radius: 12px;
}
.shipment-mosaic .shipment-photo img { object-fit: cover; }
@media (max-width: 720px) {
  .shipment-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.quote-cta { padding-block: clamp(44px, 6vw, 76px); }
.quote-cta .check-list { margin: 18px 0 0; }
.quote-cta .check-list li {
  padding: 5px 0 5px 24px;
  border-bottom: 0;
  font-weight: 650;
}
.quote-cta .check-list li::before { color: inherit; }
.quote-cta .btn { flex-shrink: 0; }

.artwork-note { margin: 16px 0 0; color: var(--muted); }
.artwork-note a { color: var(--pine); overflow-wrap: anywhere; text-decoration: underline; }
.quote-form .btn:disabled { opacity: .65; cursor: not-allowed; }
