:root {
  --ink: #1c2e2b;
  --pine: #173a37;
  --mist: #e4ebe7;
  --paper: #fefdfc;
  --ivory: #f4f1e9;
  --line: #d4dad4;
  --muted: #53635e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(22px, 5.2vw, 86px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--sans); }
button, input, select { font: inherit; }
button { cursor: pointer; background: none; color: inherit; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #9a6a42; outline-offset: 5px; }
.frame { max-width: 1580px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 14px; z-index: 20; padding: 9px 14px; background: white; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 8; background: var(--paper); }
.utility { background: #eaf0eb; color: #345350; border-bottom: 1px solid #e2e8e2; }
.utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 30px; font-size: 11px; }
.utility-row div { display: flex; gap: 22px; }
.utility button { padding: 2px 0; }
.utility button:hover, .site-footer a:hover, .site-footer button:hover { text-decoration: underline; text-underline-offset: 4px; }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 77px; align-items: center; }
.wordmark { color: #132a28; font: 400 clamp(21px, 2.45vw, 37px)/1.1 var(--serif); letter-spacing: .13em; white-space: nowrap; }
.masthead .wordmark { grid-column: 2; justify-self: center; }
.tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 20px; }
.tool { display: flex; align-items: center; gap: 8px; min-height: 37px; padding: 0; color: #233d39; }
.tool-label { font-size: 12px; }
.magnifier, .shop-bag, .hamburger { display: inline-block; position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.magnifier::before { content: ''; position: absolute; inset: 0 4px 4px 0; border: 1.4px solid; border-radius: 50%; }
.magnifier::after { content: ''; position: absolute; width: 7px; top: 11px; left: 11px; border-top: 1.4px solid; transform: rotate(46deg); transform-origin: left; }
.shop-bag { width: 14px; height: 13px; margin-top: 4px; border: 1.4px solid; border-radius: 2px; }
.shop-bag::before { content: ''; position: absolute; width: 6px; height: 5px; top: -5px; left: 2.5px; border: 1.4px solid; border-bottom: 0; border-radius: 5px 5px 0 0; }
.hamburger { background: linear-gradient(currentColor, currentColor) left 5px / 16px 1px no-repeat, linear-gradient(currentColor, currentColor) left 11px / 12px 1px no-repeat; }
.mobile-toggle { display: none; }
.navigation { border-top: 1px solid #e1e6e0; border-bottom: 1px solid #d1d8d1; }
.navigation-row { display: flex; align-items: stretch; justify-content: center; gap: clamp(36px, 5.2vw, 85px); }
.nav-item { position: relative; min-height: 47px; display: inline-flex; align-items: center; gap: 9px; padding: 0 2px; font-size: 12px; font-weight: 610; letter-spacing: .025em; white-space: nowrap; }
.nav-item::after { content: ''; position: absolute; inset: auto 0 0; border-bottom: 2px solid transparent; }
.nav-item:hover::after, .nav-item[aria-expanded="true"]::after { border-color: #284b43; }
.chevron { width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.nav-item[aria-expanded="true"] .chevron { transform: translateY(2px) rotate(225deg); }
.mega { position: absolute; inset: 100% 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 40px #173a371f; }
.mega-inner { display: grid; grid-template-columns: 1fr .83fr 1fr .85fr 1.23fr; gap: 20px; padding-block: 28px 32px; }
.mega-col { border-right: 1px solid var(--line); padding-right: 10px; }
.mega-col h2 { padding-bottom: 11px; color: var(--pine); font: 400 22px/1.15 var(--serif); }
.mega-col button, .mega-col a { display: block; text-align: left; padding: 5px 0; font-size: 13px; }
.mega-col button:hover, .mega-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega-picture img { aspect-ratio: 1.85; object-fit: cover; }
.mega-picture > span { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; font-size: 12px; }
.collections-menu { grid-template-columns: 1fr 1fr 1.4fr; width: min(100%, 1090px); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(540px, calc(100svh - 155px), 765px); display: flex; align-items: end; background: #193832; color: #fffdf5; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { object-fit: cover; object-position: center 53%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(87deg, #071c1aeb 0%, #102724ce 22%, #19343045 51%, #19343000 77%), linear-gradient(0deg, #0819163d, #08191600 48%); }
.hero-content { width: 100%; padding-block: 56px clamp(64px, 8vw, 120px); }
.hero-copy { max-width: 520px; }
.eyebrow { margin-bottom: 13px; font-size: 11px; line-height: 1.4; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { font: 400 clamp(83px, 9.1vw, 144px)/.82 var(--serif); letter-spacing: -.077em; }
.hero h1 em { font-weight: 400; }
.hero-description { margin-top: 27px; max-width: 29ch; font-size: 15px; color: #fffdf5; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 29px; padding: 11px 17px; font-size: 12px; font-weight: 620; text-align: left; }
.button-light { margin-top: 23px; background: #faf7ee; color: #16342f; }
.button-light:hover { background: #e6eeea; }

.collection-section { padding-block: clamp(56px, 7.3vw, 101px) clamp(63px, 8vw, 112px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 25px; }
.section-heading h2, .edit-copy h2, .fabric-copy h2 { color: var(--pine); font: 400 clamp(38px, 5vw, 68px)/1.03 var(--serif); letter-spacing: -.05em; }
.line-link { display: inline-flex; align-items: center; gap: 11px; padding: 4px 0; border-bottom: 1px solid #849f93; font-size: 12px; font-weight: 650; color: var(--pine); text-align: left; }
.line-link:hover { border-color: var(--pine); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 38px); }
.product-card { display: block; width: 100%; min-width: 0; padding: 0; text-align: left; }
.card-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1.08; background: #fff; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: brightness(1.06); transition: scale .35s ease; }
.product-card:is([data-style="Printed"], [data-style="Jacquard"]) .card-photo img {
  transform: translateY(-12%) scale(1.13);
  filter: brightness(1.187);
}
.product-card:hover img { scale: 1.045; }
.card-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--pine); font: 400 clamp(19px, 2.2vw, 28px)/1.18 var(--serif); }
.card-label span { font: 400 19px/1 var(--sans); }

.edit-section { background: #173a37; color: #fefbf3; }
.edit-grid { display: grid; grid-template-columns: 36fr 64fr; gap: clamp(26px, 5vw, 83px); align-items: center; padding-block: clamp(39px, 6.1vw, 90px); }
.edit-copy h2 { font-size: clamp(45px, 5.65vw, 80px); color: #f9f7ed; }
.edit-copy p { max-width: 30ch; margin-block: 20px; color: #e7f0eb; }
.edit-copy .line-link { color: #f9f8ec; border-color: #9db3a9; }
.edit-grid img { height: clamp(330px, 38vw, 540px); object-fit: cover; object-position: 54% 54%; }

.fabric-section { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(36px, 9vw, 132px); padding-block: clamp(65px, 9vw, 135px); }
.fabric-image { min-width: 0; }
.fabric-image img { aspect-ratio: 1.12; object-fit: cover; }
.fabric-intro { margin-top: 12px; color: var(--muted); }
.fabric-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.fabric-options button { border: 1px solid var(--line); padding: 6px 10px; white-space: nowrap; font-size: 12px; }
.fabric-options button[aria-pressed="true"] { background: var(--mist); border-color: #78938a; color: var(--pine); }
.fabric-options button:hover { border-color: #78938a; }
.fabric-description { margin-block: 15px; min-height: 106px; }
.fabric-description h3 { margin-bottom: 6px; color: var(--pine); font: 400 25px/1.2 var(--serif); }
.fabric-description p { color: var(--muted); max-width: 45ch; }

.journal-section { background: #eaf0ec; border-top: 1px solid #e0e8e2; padding-block: clamp(52px, 7vw, 85px); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 46px); }
.journal-story { min-width: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 9px; align-items: end; padding: 16px 0; border-top: 1px solid #9db1a8; text-align: left; }
.journal-story > span:first-child { grid-column: 1/-1; color: #4e645c; font-size: 11px; }
.journal-story strong { color: var(--pine); font: 400 clamp(20px, 2.5vw, 31px)/1.08 var(--serif); }
.journal-story:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.journal-arrow { align-self: center; color: var(--pine); }

.site-footer { background: #172f2d; color: #edf2ec; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr .95fr; gap: clamp(19px, 4vw, 56px); padding-block: 48px; }
.footer-mark { color: #f8f9ec; font-size: clamp(16px, 1.8vw, 25px); white-space: normal; }
.footer-group { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.footer-group h2 { color: #fffdf2; font-size: 13px; margin-bottom: 3px; }
.footer-group a, .footer-group button, .footer-bottom button { font-size: 12px; color: #dce7e1; text-align: left; padding: 0; }
.footer-bottom { min-height: 53px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid #526f67; font-size: 10px; letter-spacing: .065em; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 14px; }

dialog { width: min(770px, calc(100% - 28px)); max-width: none; max-height: 84dvh; color: var(--ink); margin: auto; padding: 0; border: 1px solid #abc1b8; background: var(--paper); box-shadow: 0 22px 85px #0b2c2863; }
dialog::backdrop { background: #102a28a8; }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; position: sticky; z-index: 1; top: 0; padding: 21px clamp(17px, 4vw, 35px) 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-heading h2 { color: var(--pine); font: 400 clamp(26px, 4.4vw, 40px)/1.05 var(--serif); }
.dialog-close { width: 36px; height: 34px; border: 1px solid var(--line); font-size: 21px; line-height: 1; }
.dialog-body { padding: 20px clamp(17px, 4vw, 35px) 29px; }
.dialog-body p + p { margin-top: 12px; }
.dialog-body a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.demo-note { margin-bottom: 15px; color: var(--muted); font-size: 13px; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.filters label, .search-label { display: block; font-size: 12px; font-weight: 650; }
input[type="search"], select { width: 100%; display: block; margin-top: 5px; padding: 7px 8px; background: white; color: var(--pine); border: 1px solid #aabdb5; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-block: 13px 7px; font-size: 12px; color: var(--muted); }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.result { min-width: 0; display: block; background: #edf2ee; padding: 9px 11px; text-align: left; color: var(--pine); }
.result small { display: block; color: var(--muted); }
.design-notes h3 { margin-block: 15px 7px; font-size: 17px; }
.design-notes h3:first-child { margin-top: 0; }
.design-notes li { margin-block: 4px; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

@media (max-width: 1000px) {
  .hero { min-height: clamp(530px, 72svh, 720px); }
  .tools { gap: 12px; }
  .tool-label { display: none; }
  .mega-inner { grid-template-columns: repeat(4, 1fr); }
  .mega-inner .mega-picture { display: none; }
  .mega-inner .mega-col:nth-last-child(2) { border-right: 0; }
  .collections-menu { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 730px) {
  .utility-row { min-height: 27px; font-size: 10px; }
  .utility-row div { gap: 13px; }
  .masthead { min-height: 59px; grid-template-columns: 1fr auto 1fr; }
  .masthead .wordmark { font-size: clamp(16px, 4.6vw, 27px); letter-spacing: .06em; }
  .mobile-toggle { grid-column: 1; display: inline-flex; justify-self: start; min-width: 30px; }
  .tools { gap: 11px; }
  .tool { min-height: 40px; }
  .tools .tool { min-width: 18px; justify-content: center; }
  .navigation { display: none; position: absolute; inset: 100% 0 auto; max-height: 75dvh; overflow: auto; background: var(--paper); box-shadow: 0 12px 25px #173a371f; }
  .navigation.mobile-open { display: block; }
  .navigation-row { flex-direction: column; gap: 0; padding-block: 3px; }
  .nav-item { width: 100%; justify-content: space-between; min-height: 42px; padding: 0; border-bottom: 1px solid var(--line); }
  .nav-item:last-child { border-bottom: 0; }
  .nav-item::after { display: none; }
  .mega { position: static; box-shadow: none; }
  .mega-inner { grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 16px 20px; background: #edf2ee; }
  .mega-col:nth-child(2n) { border-right: 0; }
  .mega-col h2 { font-size: 20px; }
  .mega-col button, .mega-col a { font-size: 12px; }
  .hero { min-height: clamp(440px, 132vw, 620px); }
  .hero-image { object-position: 57% 49%; }
  .hero::after { background: linear-gradient(0deg, #0b241ff2 1%, #102724ba 30%, #0e231e38 68%, #0e231e08 100%); }
  .hero-content { padding-block: 65px 42px; }
  .hero h1 { font-size: clamp(68px, 16.6vw, 113px); }
  .hero-description { margin-top: 20px; }
  .collection-section { padding-block: 45px 54px; }
  .section-heading { margin-bottom: 16px; align-items: center; }
  .section-heading h2 { font-size: clamp(29px, 7.5vw, 43px); }
  .section-heading .line-link { font-size: 10px; flex-shrink: 0; gap: 3px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 11px; }
  .card-label { padding-block: 9px; }
  .edit-grid { grid-template-columns: 1fr; gap: 22px; padding-block: 34px var(--gutter); }
  .edit-copy p { margin-block: 11px 13px; }
  .edit-grid img { height: clamp(230px, 72vw, 415px); }
  .fabric-section { grid-template-columns: 1fr; gap: 21px; padding-block: 48px; }
  .fabric-image img { aspect-ratio: 1.45; }
  .fabric-description { min-height: 0; }
  .fabric-options { margin-top: 17px; }
  .journal-grid { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-block: 35px; }
  .footer-mark { grid-column: 1/-1; }
  .footer-bottom { align-items: start; flex-direction: column; padding-block: 12px; }
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .tools { gap: 6px; }
  .section-heading .line-link { white-space: nowrap; }
  .results { grid-template-columns: 1fr; }
}

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

.masthead .wordmark { width: min(470px, 70vw); }
.wordmark img { width: 100%; height: auto; }
.footer-mark { display: block; width: min(100%, 290px); }
.footer-mark img { filter: invert(1); margin-top: 8px; }
body { font-size: 16px; }
.nav-item, .card-label + p, .line-link, .button { font-size: 14px; }
.card-label { font-size: clamp(19px, 2.2vw, 28px); }
.footer-group a, .footer-group button { font-size: 14px; }
.line-link { align-self: flex-start; }
.section-heading .line-link { align-self: end; }
.product-card { color: inherit; }
.dialog-body a.line-link { text-decoration: none; }

.collection-page { padding-block: clamp(32px, 5vw, 71px) clamp(65px, 10vw, 140px); min-height: 65vh; }
.catalog-breadcrumb { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.catalog-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.collection-page h1 { color: var(--pine); font: 400 clamp(43px, 6.5vw, 84px)/1.02 var(--serif); letter-spacing: -.055em; margin-top: 18px; }
.collection-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; padding-block: 18px; margin-top: 20px; border-block: 1px solid var(--line); }
.collection-filters label { font-size: 14px; }
.collection-filters select { min-height: 43px; }
.collection-filters .line-link { align-self: end; white-space: nowrap; }
.catalog-results { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.catalog-empty { grid-column: 1/-1; padding: clamp(20px, 5vw, 60px); background: #eaf0eb; }
.catalog-empty h2, .catalog-item h2 { font: 400 clamp(23px, 3.2vw, 36px)/1.1 var(--serif); }
.catalog-empty p { margin-block: 10px; }
.catalog-results img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.catalog-item { border-bottom: 1px solid var(--line); padding-block: 0 13px; }
.catalog-item h2 { font-size: 24px; margin-block: 8px; }
.catalog-item p { font-size: 14px; color: var(--muted); }

@media (max-width: 730px) {
  .masthead .wordmark { width: min(224px, 56vw); }
  .section-heading .line-link { font-size: 12px; }
  .collection-filters, .catalog-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
