:root {
  --paper: #f2eee7;
  --cream: #fbf8f2;
  --ink: #20382d;
  --muted: #6e766f;
  --rust: #a44832;
  --sage: #b8c0aa;
  --line: rgba(32, 56, 45, .16);
  --radius: 4px;
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #e9e5de; font-family: var(--body-font); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.page { max-width: 1600px; margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 20px 70px rgba(30, 41, 35, .09); }
.section-pad { padding-left: clamp(24px, 5.2vw, 84px); padding-right: clamp(24px, 5.2vw, 84px); }

.editor-toolbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 66px; padding: 10px clamp(14px, 2.5vw, 36px);
  color: #1d2a24; background: rgba(255, 255, 255, .94); border-bottom: 1px solid #dee3df;
  box-shadow: 0 4px 24px rgba(18, 33, 25, .07); backdrop-filter: blur(14px);
}
.editor-identity { display: flex; align-items: center; gap: 11px; }
.editor-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #244337; font-family: Georgia, serif; font-size: 18px; }
.editor-identity > span:last-child { display: grid; gap: 2px; }
.editor-identity strong { font-size: 12px; }
.editor-identity small { color: #788079; font-size: 10px; }
.toolbar-actions { display: flex; align-items: center; gap: 7px; }
.tool-button { min-height: 40px; padding: 0 15px; border: 0; border-radius: 9px; cursor: pointer; font-size: 11px; font-weight: 700; transition: .2s ease; }
.tool-button:hover { transform: translateY(-1px); }
.tool-button.ghost { color: #4f5c55; background: #f0f3f0; }
.tool-button.primary { color: #205238; background: #dcebe2; }
.tool-button.dark { min-width: 112px; color: #fff; background: #244337; }
.editing .tool-button.dark { background: #aa4a34; }
.editor-only { display: none !important; }
.editing .editor-only { display: inline-flex !important; }

.announcement { min-height: 34px; display: grid; place-items: center; padding: 8px 24px; color: #f8f3e9; background: var(--rust); text-align: center; }
.announcement p { margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.site-header { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 20px clamp(24px, 5.2vw, 84px); border-bottom: 1px solid var(--line); }
.site-header a, .site-footer a { color: inherit; text-decoration: none; }
.wordmark { width: fit-content; font-family: var(--display-font); font-size: 27px; letter-spacing: -.055em; }
.site-header nav { display: flex; align-items: center; gap: clamp(24px, 3.8vw, 56px); }
.site-header nav a { color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.header-action { justify-self: end; display: inline-flex; align-items: center; gap: 25px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr); align-items: stretch; gap: clamp(48px, 7vw, 110px); padding-top: clamp(68px, 8vw, 122px); padding-bottom: clamp(68px, 8vw, 122px); border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-kicker { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.hero-kicker p, .eyebrow { margin: 0; color: var(--rust); font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.kicker-line { display: inline-block; width: 38px; height: 1px; background: var(--rust); }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--display-font); font-size: clamp(61px, 6.5vw, 104px); font-weight: 400; line-height: .91; letter-spacing: -.065em; }
.hero h1 em, .contact h2 em { color: var(--rust); font-weight: 400; }
.hero-description { max-width: 580px; margin: 34px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: clamp(24px, 4vw, 58px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-width: 214px; padding: 16px 18px; text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.button.filled { color: #fff; background: var(--ink); }
.hero-actions > p { display: grid; gap: 4px; margin: 0; }
.hero-actions > p span:first-child { color: var(--rust); font-size: 8px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero-actions > p span:last-child { color: var(--muted); font-size: 10px; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 520px; }
.hero-image-frame { position: relative; width: min(92%, 560px); height: 100%; min-height: 540px; overflow: hidden; border-radius: 48% 48% var(--radius) var(--radius); background: #d7d2c7; }
.hero-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-note { position: absolute; left: -4%; bottom: 6%; display: flex; align-items: center; gap: 14px; min-width: 270px; padding: 16px 18px; color: var(--ink); background: rgba(250, 247, 239, .94); box-shadow: 0 15px 45px rgba(34, 46, 39, .12); backdrop-filter: blur(10px); }
.hero-note > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--display-font); font-size: 13px; }
.hero-note p { display: grid; gap: 3px; margin: 0; }
.hero-note strong { font-family: var(--display-font); font-size: 15px; font-weight: 400; }
.hero-note small { color: var(--muted); font-size: 9px; }
.roundel { position: absolute; right: -10px; top: 3%; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; color: #fff; background: var(--rust); box-shadow: 0 10px 30px rgba(117, 48, 34, .2); }
.roundel span { position: absolute; width: 85%; text-align: center; font-size: 7px; letter-spacing: .14em; }
.roundel b { font-size: 20px; }

.service-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.service-bar > div { display: flex; align-items: center; gap: 15px; padding: 31px clamp(10px, 3vw, 48px); border-right: 1px solid var(--line); }
.service-bar > div:first-child { padding-left: 0; }
.service-bar > div:last-child { border-right: 0; }
.service-bar > div > span { color: var(--rust); font-family: var(--display-font); font-size: 12px; }
.service-bar p { display: grid; gap: 5px; margin: 0; }
.service-bar strong { font-family: var(--display-font); font-size: 15px; font-weight: 400; }
.service-bar small { color: var(--muted); font-size: 9px; }

.collection { padding-top: clamp(92px, 10vw, 150px); padding-bottom: clamp(100px, 11vw, 170px); }
.section-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; margin-bottom: clamp(50px, 7vw, 94px); }
.section-intro .eyebrow { padding-top: 12px; }
.section-intro > div { display: grid; grid-template-columns: minmax(330px, 1fr) minmax(250px, .68fr); align-items: end; gap: 60px; }
.section-intro h2 { margin: 0; font-family: var(--display-font); font-size: clamp(54px, 6.5vw, 94px); font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.section-intro div > p { margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 38px); }
.product-card { position: relative; cursor: default; }
.product-card:nth-child(2) { transform: translateY(54px); }
.product-image { position: relative; aspect-ratio: .8; overflow: hidden; border-radius: var(--radius); background: #ddd6ca; }
.product-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-index { position: absolute; top: 15px; left: 15px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); background: rgba(252,249,242,.9); font-size: 9px; backdrop-filter: blur(6px); }
.product-info { padding: 23px 3px 0; }
.product-meta { display: flex; justify-content: space-between; gap: 14px; color: var(--rust); font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.product-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 10px 0 0; }
.product-title h3 { margin: 0; font-family: var(--display-font); font-size: clamp(25px, 2.5vw, 35px); font-weight: 400; letter-spacing: -.035em; }
.product-title strong { font-size: 11px; }
.product-description { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.story { display: grid; grid-template-columns: 1fr 1fr; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); background: #d9ddcf; }
.story-card { min-height: 650px; }
.story-image { position: relative; overflow: hidden; background: #cbc8be; }
.story-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.vertical-caption { position: absolute; left: 16px; bottom: 18px; color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .2em; writing-mode: vertical-rl; transform: rotate(180deg); }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 7vw, 110px); background: var(--cream); }
.story-copy blockquote { margin: 27px 0; font-family: var(--display-font); font-size: clamp(37px, 4.5vw, 65px); line-height: 1.02; letter-spacing: -.048em; }
.story-copy > p:not(.eyebrow) { max-width: 540px; margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; justify-content: space-between; width: 145px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 10px; font-weight: 800; }

.contact { padding-top: clamp(100px, 11vw, 170px); padding-bottom: clamp(95px, 10vw, 150px); color: #f5f0e7; background: var(--ink); }
.eyebrow.light { color: #d9a292; }
.contact-main { display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 70px; margin-top: 44px; }
.contact h2 { margin: 0; font-family: var(--display-font); font-size: clamp(60px, 8vw, 122px); font-weight: 400; line-height: .89; letter-spacing: -.065em; }
.contact-main > div p { margin: 0 0 28px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.8; }
.button.outline { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.site-footer { position: relative; display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 45px; padding-top: 56px; padding-bottom: 78px; color: #e4e0d7; background: #182a22; border-top: 1px solid rgba(255,255,255,.12); }
.wordmark.inverse { color: #fff; font-size: 31px; }
.site-footer > div:first-child p { max-width: 320px; margin-top: 18px; color: rgba(255,255,255,.5); }
.site-footer strong { display: block; margin-bottom: 13px; color: #d9a292; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.site-footer p { margin: 0; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.8; }
.copyright { position: absolute; left: clamp(24px, 5.2vw, 84px); bottom: 20px; }

.editable { outline: 1px solid transparent; outline-offset: 5px; border-radius: 2px; }
.editing .editable { cursor: text; }
.editing .editable:hover { outline-color: rgba(57, 112, 83, .65); background: rgba(255,255,255,.15); }
.editing .editable.selected { outline: 2px solid #3b7558; background: rgba(255,255,255,.22); }
.editing .selectable-image, .editing .product-card { cursor: pointer; }
.editing .selectable-image:hover, .editing .product-card:hover { outline: 2px solid rgba(57, 112, 83, .65); outline-offset: 4px; }
.editing .selectable-image.selected, .editing .product-card.selected { outline: 3px solid #3b7558; outline-offset: 5px; }
.image-edit-label { position: absolute; right: 12px; bottom: 12px; z-index: 4; align-items: center; padding: 8px 10px; border-radius: 7px; color: #fff; background: rgba(20, 38, 29, .88); font-size: 9px; font-weight: 800; }

.inspector { position: fixed; z-index: 110; top: 78px; right: 14px; width: min(356px, calc(100vw - 28px)); max-height: calc(100vh - 92px); overflow: auto; color: #1d2c24; background: rgba(255,255,255,.98); border: 1px solid #d9dfda; border-radius: 18px; box-shadow: 0 24px 80px rgba(14, 31, 22, .2); backdrop-filter: blur(16px); transform: translateX(calc(100% + 30px)); transition: transform .26s ease; }
.inspector.open { transform: translateX(0); }
.inspector header { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; padding: 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid #e9ecea; }
.inspector header small { color: #8b938e; font-size: 8px; letter-spacing: .17em; }
.inspector header h2 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.02em; }
.inspector header button { display: grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 8px; color: #455149; background: #f0f2f0; cursor: pointer; font-size: 20px; }
.inspector-content { display: grid; gap: 18px; padding: 20px; }
.panel-note { margin: -3px 0 2px; color: #758078; font-size: 10px; line-height: 1.55; }
.field { display: grid; gap: 8px; }
.field > span { color: #69736d; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.field input:not([type="color"]):not([type="range"]), .field textarea, .field select { width: 100%; min-width: 0; padding: 11px; color: #24342b; background: #fafbfa; border: 1px solid #dbe0dc; border-radius: 9px; outline: none; font-size: 11px; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #4a8364; box-shadow: 0 0 0 3px rgba(74,131,100,.1); }
.field input[type="color"] { width: 100%; height: 42px; padding: 3px; border: 1px solid #dbe0dc; border-radius: 9px; background: #fff; cursor: pointer; }
.field input[type="range"] { width: 100%; accent-color: #3e7558; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-button { min-height: 39px; border: 1px solid #d8ded9; border-radius: 9px; color: #3d4b43; background: #f6f8f6; cursor: pointer; font-size: 10px; font-weight: 800; }
.panel-button.accent { color: #fff; background: #264b3a; border-color: #264b3a; }
.panel-button.danger { color: #9b3e2c; background: #fff6f3; border-color: #edcdc5; }
.panel-divider { height: 1px; background: #e8ece9; }
.image-preview { aspect-ratio: 1.45; overflow: hidden; border-radius: 10px; background: #eeeae3; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.reorder { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.empty-panel { display: grid; place-items: center; gap: 10px; min-height: 190px; text-align: center; color: #78827c; }
.empty-panel b { color: var(--rust); font-size: 27px; }
.empty-panel p { max-width: 230px; margin: 0; font-size: 11px; line-height: 1.6; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 24px; padding: 11px 16px; border-radius: 9px; color: #fff; background: #234a36; box-shadow: 0 12px 35px rgba(0,0,0,.2); font-size: 11px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .23s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 610px; }
  .hero-image-frame { min-height: 610px; width: 78%; }
  .section-intro, .section-intro > div { grid-template-columns: 1fr; gap: 25px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:nth-child(2) { transform: translateY(40px); }
  .product-card:nth-child(3) { margin-top: 45px; }
  .story { grid-template-columns: 1fr; }
  .story-card { min-height: 570px; }
  .contact-main { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .editor-toolbar { min-height: 60px; padding: 9px 10px; }
  .editor-identity small, .tool-button span, .tool-button.ghost { display: none; }
  .tool-button { padding: 0 11px; }
  .tool-button.dark { min-width: 96px; }
  .site-header { min-height: 77px; padding: 17px 20px; }
  .wordmark { font-size: 23px; }
  .header-action { font-size: 9px; }
  .hero { min-height: auto; gap: 58px; padding-top: 72px; }
  .hero h1 { font-size: 59px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 475px; }
  .hero-image-frame { width: 92%; min-height: 475px; }
  .hero-note { left: 0; bottom: 4%; min-width: 230px; }
  .roundel { width: 84px; height: 84px; }
  .service-bar { grid-template-columns: 1fr; }
  .service-bar > div, .service-bar > div:first-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-bar > div:last-child { border-bottom: 0; }
  .section-intro h2 { font-size: 58px; }
  .product-grid { grid-template-columns: 1fr; gap: 52px; }
  .product-card:nth-child(2), .product-card:nth-child(3) { transform: none; margin-top: 0; }
  .story { padding-left: 20px; padding-right: 20px; }
  .story-card { min-height: 470px; }
  .story-copy { padding: 44px 28px; }
  .story-copy blockquote { font-size: 40px; }
  .contact h2 { font-size: 62px; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
  .inspector { top: auto; right: 10px; bottom: 10px; width: calc(100vw - 20px); max-height: 72vh; }
}

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