:root {
  --ink: #28343d;
  --navy: #172731;
  --paper: #e7e7df;
  --cream: #f5f3ec;
  --rust: #9fb2c2;
  --gold: #d8a14d;
  --line: rgba(40, 52, 61, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 102px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 6vw, 7rem); color: white; background: linear-gradient(90deg, rgba(15,31,40,.9), rgba(15,31,40,.62)); border-bottom: 1px solid rgba(255,255,255,.24); box-shadow: 0 12px 35px rgba(8,20,27,.18); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; color: var(--ink); background: var(--gold); border-radius: 50%; font: 700 1.4rem Georgia, serif; }
.brand-copy { display: grid; line-height: 1; letter-spacing: .18em; }
.brand-copy strong { font-size: 1.25rem; }
.brand-copy small { margin-top: .45rem; font-size: .58rem; letter-spacing: .22em; }
.main-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.6vw, 2.8rem); font-size: .87rem; font-weight: 650; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 1px; background: white; transition: right .25s; }
.main-nav a:hover::after { right: 0; }
.nav-cta { padding: .72rem 1.1rem; background: rgba(231,231,223,.08); border: 1px solid rgba(255,255,255,.72); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; color: inherit; background: none; border: 0; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 700px; height: calc(92vh - 48px); display: flex; align-items: center; color: white; background: var(--navy) url("assets/custom/edited/hero-machine-blue-web.webp") center / cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,28,37,.82) 0%, rgba(12,28,37,.48) 40%, rgba(12,28,37,.04) 72%), linear-gradient(0deg, rgba(12,28,37,.3), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: min(760px, 83vw); margin-left: clamp(1.25rem, 9vw, 10rem); padding-top: 5rem; }
.eyebrow { margin: 0 0 1.35rem; color: var(--rust); font-size: .73rem; font-weight: 800; letter-spacing: .24em; }
.hero .eyebrow, .contact .eyebrow { color: #d8a14d; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem, 6.5vw, 6.6rem); }
h1 em, .contact h2 em { color: var(--gold); font-weight: 400; }
.hero-lead { max-width: 590px; margin: 2rem 0 2.5rem; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: .8rem 1.5rem; border: 1px solid transparent; font-weight: 750; transition: transform .2s, background .2s, color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--rust); }
.text-link { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.5); font-weight: 700; }
.text-link span { margin-left: .4rem; color: var(--gold); }
.hero-index { position: absolute; right: 3vw; bottom: 3.5rem; display: flex; align-items: center; gap: .8rem; font-size: .68rem; letter-spacing: .14em; }
.hero-index i { width: 55px; height: 1px; background: rgba(255,255,255,.5); }

.intro-strip { display: grid; grid-template-columns: repeat(2, 1fr); color: white; background: var(--rust); padding: 0 clamp(1rem, 7vw, 8rem); }
.intro-strip div { min-height: 145px; display: flex; align-items: center; justify-content: center; gap: .8rem; border-right: 1px solid rgba(255,255,255,.23); }
.intro-strip div:first-child { border-left: 1px solid rgba(255,255,255,.23); }
.intro-strip strong { font: 400 clamp(1.8rem, 3.3vw, 3rem) Georgia, serif; color: #e6f2f3; }
.intro-strip span { max-width: 95px; font-size: .78rem; line-height: 1.35; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 9vw, 10rem); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; max-width: 1300px; margin: 0 auto clamp(3rem, 6vw, 5.5rem); }
.section-heading h2, .about h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.section-heading > p { max-width: 460px; margin: 0; color: #667078; }
.services-intro { max-width: 510px; color: #667078; }
.services-intro p { margin: 0 0 .8rem; }
.services-intro p:last-child { margin-bottom: 0; }
.service-gallery { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1400px; margin: auto; background: var(--navy); }
.service-photo-card { position: relative; grid-column: span 2; min-height: 430px; display: flex; align-items: flex-end; padding: clamp(1.6rem, 2.5vw, 2.5rem); color: white; isolation: isolate; overflow: hidden; background-position: center; background-size: cover; }
.service-photo-card:nth-child(4), .service-photo-card:nth-child(5) { grid-column: span 3; }
.service-photo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,26,34,.93), rgba(10,26,34,.04) 75%); transition: background .3s; }
.service-photo-card::after { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(37,65,75,.12); mix-blend-mode: color; }
.service-photo-card:hover::before { background: linear-gradient(0deg, rgba(43,76,88,.96), rgba(10,26,34,.08) 78%); }
.service-cutting { background-image: url("assets/custom/edited/category-cutting-web.webp"); }
.service-sewing { background-image: url("assets/custom/edited/category-sewing-operator-web.webp"); }
.service-buttonhole { background-image: url("assets/custom/edited/service-buttonhole-web.webp"); }
.service-ironing { background-image: url("assets/custom/edited/service-ironing-web.webp"); background-position: center; }
.service-packaging { background-image: url("assets/custom/edited/category-production-web.webp"); }
.service-photo-card span { color: var(--gold); font-size: .7rem; letter-spacing: .15em; }
.service-photo-card h3 { margin: .45rem 0 0; font: 400 clamp(1.45rem, 2vw, 1.9rem) Georgia, serif; }
.service-photo-card p { max-width: 330px; margin: .35rem 0 0; color: rgba(255,255,255,.7); font-size: .82rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; max-width: 1600px; margin: auto; }
.about-visual { position: relative; min-height: 590px; background: var(--navy) url("assets/custom/edited/about-finishing-web.webp") center / cover no-repeat; overflow: hidden; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,27,35,.45)); }
.about-badge { position: absolute; left: auto; right: 1.5rem; top: auto; bottom: 1.5rem; z-index: 2; width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--ink); background: rgba(248,245,238,.94); border-radius: 50%; }
.about-badge strong { font: 400 4rem Georgia, serif; }
.about-badge span { font-size: .73rem; line-height: 1.3; }
.about-copy { max-width: 570px; }
.about-lead { margin-top: 2rem; font: 400 1.4rem/1.45 Georgia, serif; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: #667078; }
.checks { display: grid; gap: .55rem; margin: 1.7rem 0 2.2rem; padding: 0; list-style: none; font-size: .9rem; }
.checks li::before { content: "✓"; margin-right: .8rem; color: var(--rust); font-weight: 800; }
.button-outline { border-color: var(--ink); }
.button-outline:hover { color: white; background: var(--ink); }

.contact { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 9vw, 10rem); color: white; background: var(--rust); }
.contact h2 { font-size: clamp(3rem, 5.6vw, 5.8rem); }
.contact-copy > p:last-child { max-width: 430px; color: rgba(255,255,255,.74); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.contact-form label { display: grid; gap: .45rem; color: rgba(255,255,255,.74); font-size: .72rem; letter-spacing: .08em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .65rem 0; color: white; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); border-radius: 0; outline: none; }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: white; }
.contact-form .full { grid-column: 1 / -1; }
.button-light { justify-self: start; color: var(--ink); background: var(--cream); }
.button-light span { margin-left: .7rem; }
.form-note { align-self: center; margin: 0; font-size: .82rem; }

.site-footer { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1.1fr; gap: 3rem; padding: 5rem clamp(1.25rem, 7vw, 8rem) 1.5rem; color: rgba(255,255,255,.68); background: #101b21; }
.brand-footer { color: white; }
.footer-brand p { max-width: 310px; margin-top: 1.5rem; }
.site-footer h3 { margin: 0 0 1rem; color: white; font: 400 1.1rem Georgia, serif; }
.site-footer > div:not(.footer-bottom) > a, .site-footer > div:not(.footer-bottom) > span { display: block; margin: .5rem 0; font-size: .83rem; }
.newsletter p { margin-top: 0; font-size: .83rem; }
.newsletter form { display: flex; border-bottom: 1px solid rgba(255,255,255,.3); }
.newsletter input { min-width: 0; flex: 1; padding: .7rem 0; color: white; background: none; border: 0; outline: 0; }
.newsletter button { color: var(--gold); background: none; border: 0; cursor: pointer; }
.newsletter-note { color: var(--gold); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 82px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2rem; color: white; background: var(--navy); font: 400 1.8rem Georgia, serif; transform: translateX(100%); transition: transform .3s; }
  .main-nav.open { transform: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle > span { transition: .25s; }
  .intro-strip { grid-template-columns: 1fr 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-gallery { grid-template-columns: repeat(2, 1fr); }
  .service-photo-card, .service-photo-card:nth-child(4), .service-photo-card:nth-child(5) { grid-column: span 1; }
  .service-photo-card:last-child { grid-column: 1 / -1; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-visual { min-height: 440px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 1rem; }
  .hero { min-height: 660px; height: calc(92svh - 32px); background-position: 60% center; }
  .hero-content { margin-left: 1.25rem; padding-right: 1rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .hero-index { display: none; }
  .intro-strip { padding: 0 1rem; }
  .intro-strip div { min-height: 105px; flex-direction: column; gap: .1rem; text-align: center; }
  .intro-strip span { max-width: none; }
  .section, .contact { padding-inline: 1.25rem; }
  .service-gallery { grid-template-columns: 1fr; }
  .service-photo-card, .service-photo-card:nth-child(4), .service-photo-card:nth-child(5), .service-photo-card:last-child { grid-column: auto; min-height: 360px; }
  .about-visual { min-height: 360px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; padding-top: 4rem; }
  .footer-bottom { grid-column: auto; flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
