:root {
  --forest: #173f35;
  --forest-deep: #0e2c25;
  --sage: #8ea58f;
  --sage-light: #dce5d8;
  --terracotta: #d85d3f;
  --orange: #f4a261;
  --cream: #fff8ec;
  --paper: #f6f0e5;
  --ink: #1c2724;
  --muted: #5f6c68;
  --line: rgba(23, 63, 53, .14);
  --shadow: 0 26px 70px rgba(25, 48, 40, .15);
  --radius: 28px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fffdf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: var(--wrap); margin-inline: auto; }
.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: 1000; left: 12px; top: -80px; padding: 10px 16px; background: var(--forest); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 63, 53, .09);
  background: rgba(255, 253, 248, .93);
  backdrop-filter: blur(16px);
}
.header-inner { width: var(--wrap); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 220px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 650; font-size: .94rem; }
.main-nav a { text-decoration: none; position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--terracotta); transition: right .2s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { right: 0; }
.nav-cta { color: white; background: var(--forest); padding: 12px 19px; border-radius: 999px; box-shadow: 0 8px 24px rgba(23,63,53,.15); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--forest); padding: 12px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; }

.hero { position: relative; overflow: hidden; min-height: 760px; background: var(--cream); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(244, 162, 97, .2); left: -180px; bottom: -210px; }
.hero-visual { position: absolute; inset: 0 0 0 43%; background: linear-gradient(90deg, var(--cream) 0%, rgba(255,248,236,.7) 15%, rgba(255,248,236,0) 42%), url("assets/stamp-studio-hero.jpg") center / cover no-repeat; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,44,37,0) 65%, rgba(14,44,37,.16)); }
.hero-grid { position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .75fr); align-items: center; gap: clamp(36px, 6vw, 86px); padding-block: 64px; }
.hero-copy { max-width: 660px; padding: 50px 0; }
.eyebrow { margin: 0 0 16px; color: var(--terracotta); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 6.4vw, 6.5rem); line-height: .9; letter-spacing: -.055em; color: var(--forest-deep); }
.hero h1 em { color: var(--terracotta); font-weight: 500; }
.hero-lead { max-width: 600px; margin: 28px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.26rem); color: #485852; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: #fff; box-shadow: 0 14px 28px rgba(23,63,53,.18); }
.button-ghost { background: rgba(255,255,255,.65); border-color: var(--line); color: var(--forest); }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #52625c; font-size: .9rem; font-weight: 700; }
.hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border-radius: 50%; background: var(--sage-light); color: var(--forest); font-size: .76rem; }

.order-card { align-self: center; background: rgba(255, 253, 248, .96); border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; backdrop-filter: blur(14px); }
.form-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.form-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--terracotta); color: white; font: 800 1rem/1 Georgia, serif; }
.form-heading p { margin: 0 0 2px; color: var(--muted); font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.form-heading h2 { margin: 0; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1.1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-card label { display: block; margin: 10px 0 0; color: #43514d; font-size: .79rem; font-weight: 800; }
.order-card input:not([type="checkbox"]), .order-card select, .order-card textarea { width: 100%; min-height: 45px; margin-top: 6px; border: 1px solid #d5ddd7; border-radius: 12px; background: white; color: var(--ink); padding: 10px 12px; outline: none; transition: border .2s, box-shadow .2s; }
.order-card textarea { resize: vertical; min-height: 74px; }
.order-card input:focus, .order-card select:focus, .order-card textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,63,53,.1); }
.file-field { padding: 10px 12px; border: 1px dashed #bdcac1; border-radius: 12px; background: #f8f7f0; }
.file-field span { color: #78817d; font-weight: 600; }
.file-field input { min-height: 0 !important; padding: 3px 0 0 !important; border: 0 !important; background: transparent !important; font-size: .73rem; }
.consent { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 600 !important; line-height: 1.4; }
.consent input { margin-top: 3px; accent-color: var(--forest); }
.consent a { color: var(--forest); }
.button-submit { width: 100%; margin-top: 16px; border: 0; background: var(--terracotta); color: white; border-radius: 14px; }
.button-submit[disabled] { opacity: .62; cursor: wait; transform: none; }
.form-status { min-height: 0; margin: 12px 0 0; padding: 0; border-radius: 12px; font-size: .84rem; font-weight: 750; }
.form-status:not(:empty) { min-height: 42px; padding: 10px 12px; }
.form-status.success { background: #e5f2e8; color: #18512e; }
.form-status.error { background: #fae4df; color: #8e2c20; }
.form-note { margin: 10px 0 0; color: #7b8581; font-size: .7rem; text-align: center; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }

.trust-strip { position: relative; z-index: 3; background: var(--forest); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid p { margin: 0; padding: 23px 22px; border-right: 1px solid rgba(255,255,255,.13); }
.trust-grid p:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: #fff; font-size: .94rem; }
.trust-grid span { color: #c9d6cf; font-size: .77rem; }

.section { padding: clamp(78px, 10vw, 130px) 0; }
.section-heading h2, .process-copy h2, .sales-card h2, .faq-intro h2 { margin: 0; color: var(--forest-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 4.5vw, 4.7rem); line-height: .98; letter-spacing: -.045em; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(30px, 8vw, 110px); align-items: end; margin-bottom: 48px; }
.split-heading > p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.types-section { background: #fffdf8; }
.type-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.type-card { min-height: 420px; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: #f5f1e8; }
.type-card-featured { background: var(--sage-light); }
.type-index { position: absolute; top: 22px; right: 22px; color: rgba(23,63,53,.38); font: 700 .95rem/1 Georgia, serif; }
.stamp-icon { width: 88px; height: 88px; margin-bottom: 44px; position: relative; }
.stamp-icon::before, .stamp-icon::after { content: ""; position: absolute; }
.stamp-icon-auto::before { width: 58px; height: 58px; left: 15px; top: 14px; border-radius: 16px 16px 10px 10px; background: var(--forest); box-shadow: inset 0 -13px 0 rgba(255,255,255,.2); }
.stamp-icon-auto::after { width: 72px; height: 12px; left: 8px; bottom: 4px; border-radius: 5px; background: var(--terracotta); }
.stamp-icon-round::before { width: 66px; height: 66px; left: 11px; top: 11px; border: 9px double var(--forest); border-radius: 50%; }
.stamp-icon-round::after { width: 28px; height: 4px; left: 30px; top: 42px; background: var(--terracotta); box-shadow: 0 -9px 0 var(--terracotta), 0 9px 0 var(--terracotta); }
.stamp-icon-wood::before { width: 44px; height: 54px; left: 22px; top: 4px; border-radius: 50% 50% 30% 30%; background: #a7653f; }
.stamp-icon-wood::after { width: 80px; height: 25px; left: 4px; bottom: 5px; border-radius: 10px 10px 5px 5px; background: var(--forest); box-shadow: inset 0 -7px rgba(255,255,255,.16); }
.type-card h3 { margin: 0; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; }
.type-card p { margin: 14px 0 26px; color: #5c6864; }
.type-card a { margin-top: auto; color: var(--terracotta); font-weight: 850; text-decoration: none; }

.process-section { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(46px, 8vw, 100px); align-items: center; }
.process-photo { position: relative; }
.process-photo img { width: 100%; aspect-ratio: 4/4.7; object-fit: cover; border-radius: 32px 32px 120px 32px; box-shadow: 0 24px 60px rgba(34,55,48,.16); }
.photo-badge { position: absolute; right: -28px; bottom: 40px; width: 174px; height: 174px; display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 50%; background: var(--terracotta); color: white; transform: rotate(-6deg); box-shadow: 0 16px 36px rgba(128,56,38,.26); }
.photo-badge strong { font-family: Georgia, serif; font-size: 1.24rem; line-height: 1.12; }
.photo-badge span { margin-top: 7px; font-size: .75rem; }
.process-copy h2 { margin-bottom: 34px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-weight: 850; }
.steps h3 { margin: 0; color: var(--forest); font-size: 1.05rem; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: .94rem; }
.text-link { display: inline-flex; gap: 10px; margin-top: 28px; color: var(--terracotta); font-weight: 850; text-decoration: none; }

.sales-section { background: #fffdf8; }
.sales-card { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(40px, 9vw, 120px); padding: clamp(42px, 7vw, 84px); border-radius: 34px; background: var(--forest); color: white; }
.sales-card .eyebrow { color: var(--orange); }
.sales-card h2 { color: white; font-size: clamp(2.4rem, 4.4vw, 4.25rem); }
.sales-card > div:last-child { align-self: end; }
.sales-card > div:last-child > p { margin: 0 0 28px; color: #d6e2dd; font-size: 1.03rem; }
.button-light { background: white; color: var(--forest); }

.faq-section { background: #fffdf8; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.1fr; gap: clamp(44px, 9vw, 120px); }
.faq-intro > p:not(.eyebrow):not(.contact-line) { color: var(--muted); }
.contact-line { margin: 24px 0 0; }
.contact-line + .contact-line { margin-top: 9px; }
.contact-line span { display: block; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-line a { color: var(--forest); font-size: 1.12rem; font-weight: 850; text-decoration: none; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; color: var(--forest-deep); font-weight: 850; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 17px; font: 400 2rem/1 Georgia, serif; color: var(--terracotta); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: -4px 0 24px; padding-right: 50px; color: var(--muted); }

.closing-cta { padding: 62px 0; background: var(--orange); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.closing-inner p { margin: 0 0 4px; color: #5d3123; font-weight: 800; }
.closing-inner h2 { margin: 0; color: var(--forest-deep); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; }
.button-accent { flex: 0 0 auto; background: var(--forest); color: white; }

.site-footer { padding: 68px 0 24px; background: var(--forest-deep); color: #d6e1dc; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 54px; }
.footer-grid > div:first-child img { width: 230px; filter: brightness(0) invert(1); }
.footer-grid > div:first-child p { max-width: 470px; color: #aebfb8; }
.footer-grid h2 { margin: 0 0 14px; color: white; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid span { margin: 4px 0; color: #c3d0cb; text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #829990; font-size: .78rem; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 100px 0 90px; background: var(--paper); }
.page-hero::after { content: ""; position: absolute; width: 410px; height: 410px; right: -130px; top: -150px; border: 70px solid rgba(244,162,97,.25); border-radius: 50%; }
.breadcrumb { margin: 0 0 22px; color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--forest); text-decoration: none; }
.page-hero h1 { max-width: 900px; margin: 0; color: var(--forest-deep); font-family: Georgia, serif; font-size: clamp(3.1rem, 7vw, 6.5rem); line-height: .92; letter-spacing: -.055em; }
.page-hero p:last-child { max-width: 700px; margin: 28px 0 0; color: var(--muted); font-size: 1.16rem; }
.catalog { background: #fffdf8; }
.catalog-group { display: grid; grid-template-columns: .55fr 1.35fr; gap: clamp(36px, 8vw, 100px); padding: 62px 0; border-top: 1px solid var(--line); scroll-margin-top: 105px; }
.catalog-group:first-child { border-top: 0; padding-top: 0; }
.catalog-group h2 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1; }
.catalog-group .group-label { color: var(--terracotta); font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-item { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.product-item h3 { margin: 0 0 8px; color: var(--forest); font-size: 1.15rem; }
.product-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.product-item strong { display: inline-block; margin-top: 14px; color: var(--terracotta); font-size: .78rem; }
.inline-order { padding: 58px; border-radius: 30px; background: var(--sage-light); text-align: center; }
.inline-order h2 { margin: 0; color: var(--forest-deep); font-family: Georgia, serif; font-size: clamp(2.2rem,4vw,4rem); }
.inline-order p { max-width: 670px; margin: 16px auto 25px; color: var(--muted); }
.privacy-content { max-width: 860px; }
.privacy-content h2 { margin-top: 42px; color: var(--forest); font-family: Georgia, serif; font-size: 1.8rem; }
.privacy-content p, .privacy-content li { color: var(--muted); }

@media (max-width: 1040px) {
  .main-nav { gap: 19px; font-size: .88rem; }
  .hero { min-height: auto; }
  .hero-visual { inset: 0 0 0 48%; opacity: .7; }
  .hero-grid { grid-template-columns: 1fr 400px; gap: 28px; min-height: auto; }
  .hero h1 { font-size: clamp(3.2rem, 7vw, 5.2rem); }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .type-card-featured { grid-row: span 2; }
}

@media (max-width: 820px) {
  :root { --wrap: min(calc(100% - 28px), 720px); }
  .wrap, .header-inner { width: auto; margin-inline: 14px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 13px; }
  .main-nav > a::after { display: none; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero-visual { position: relative; inset: auto; height: 330px; background: linear-gradient(180deg, rgba(255,248,236,0) 60%, var(--cream)), url("assets/stamp-studio-hero.jpg") center / cover no-repeat; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; padding: 10px 0 58px; }
  .hero-copy { max-width: none; padding: 0 0 15px; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5.3rem); }
  .order-card { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid p:nth-child(2) { border-right: 0; }
  .trust-grid p:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .split-heading, .process-grid, .sales-card, .faq-grid, .catalog-group { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .type-card, .type-card-featured { min-height: 340px; grid-row: auto; }
  .process-photo { max-width: 600px; }
  .process-photo img { aspect-ratio: 4/3.6; }
  .photo-badge { width: 140px; height: 140px; right: -5px; bottom: -30px; }
  .process-copy { padding-top: 35px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero-visual { height: 265px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-points { display: grid; }
  .order-card { padding: 22px 18px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid p { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); padding: 17px 10px; }
  .trust-grid p:last-child { border-bottom: 0; }
  .section { padding-block: 74px; }
  .section-heading h2, .process-copy h2, .sales-card h2, .faq-intro h2 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
  .split-heading { margin-bottom: 30px; }
  .type-card { padding: 23px; }
  .photo-badge { right: 8px; bottom: 8px; width: 128px; height: 128px; padding: 18px; transform: none; overflow-wrap: anywhere; }
  .sales-card { padding: 34px 24px; border-radius: 24px; }
  .product-list { grid-template-columns: 1fr; }
  .inline-order { padding: 38px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .page-hero { padding: 70px 0 64px; }
}

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