/* Bene Visuals — Prints
   A gallery feel: warm paper, forest ink, generous space, matted images. */

:root {
  --paper: #F2EDE3;
  --paper-2: #E8E1D3;
  --forest: #1E2A24;
  --moss: #4C5A49;
  --stone: #67635A;
  --brass: #8C6A2A;
  --rule: #D7CEBD;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --ease: cubic-bezier(.22, .8, .16, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--forest); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); }
em { font-style: italic; }
section[id] { scroll-margin-top: 80px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--forest); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.5rem; font: 600 .9375rem/1 var(--sans); text-decoration: none; border-radius: 2px; transition: background-color .25s, color .25s; }
.btn-dark { background: var(--forest); color: var(--paper); }
.btn-dark:hover { background: #2C3B33; }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: #fff; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; color: var(--forest); transition: color .2s; }
.link:hover { color: var(--brass); }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem var(--gutter); color: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: currentColor; }
.brand span { font-family: var(--display); font-size: 1.5rem; letter-spacing: .01em; }
.top-nav { display: flex; align-items: center; gap: 1.75rem; }
.top-nav a:not(.btn) { text-decoration: none; font-size: .9375rem; font-weight: 500; opacity: .9; }
.top-nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top .btn-dark { background: var(--paper); color: var(--forest); }

/* Cover */
.cover { position: relative; isolation: isolate; min-height: max(620px, 100svh); display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,28,24,.78), rgba(20,28,24,.15) 55%, rgba(20,28,24,.35)); }
.cover-copy { padding: 0 var(--gutter) clamp(3.5rem, 10vh, 7rem); max-width: 60rem; }
.cover h1 { font-size: clamp(3.5rem, 1.5rem + 8vw, 9rem); line-height: .95; }
.cover p { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.55; opacity: .92; }
.cover .btn { margin-top: 2.25rem; }

/* Intro */
.intro { padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter); display: grid; justify-items: center; }
.intro p { max-width: 36ch; text-align: center; font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.3; }

/* Collection */
.collection { padding: 0 var(--gutter) clamp(5rem, 10vw, 8rem); }
.col-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.prints-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 3vw, 3rem); }
.print a { display: grid; text-decoration: none; }
.frame { background: #FBF9F4; padding: clamp(14px, 2.2vw, 28px); box-shadow: 0 1px 0 rgba(30,42,36,.06), 0 24px 40px -28px rgba(30,42,36,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.frame-inner { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 0 0 1px rgba(30,42,36,.08); }
.print a:hover .frame, .print a:focus-visible .frame { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(30,42,36,.06), 0 34px 50px -28px rgba(30,42,36,.5); }
.print-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.25rem; }
.print-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
.print-from { font-size: .875rem; color: var(--stone); white-space: nowrap; }
.print-place { font-size: .875rem; color: var(--stone); margin-top: .1rem; }
.print-cta { margin-top: .75rem; font-size: .875rem; font-weight: 600; color: var(--brass); }
.note { color: var(--stone); }
.custom-note { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.75rem; border-top: 1px solid var(--rule); text-align: center; color: var(--moss); font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.4; }
.custom-note a { color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--brass); }
.custom-note a:hover { color: var(--brass); }

/* Materials */
.materials { background: var(--forest); color: var(--paper); padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.mat-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.mat-list li { border-top: 1px solid rgba(242,237,227,.25); padding-top: 1.5rem; }
.mat-list h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.mat-list p { margin-top: .75rem; color: rgba(242,237,227,.78); max-width: 34ch; }
.mat-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); color: rgba(242,237,227,.7); font-size: .9375rem; max-width: 60ch; }

/* Offices / trade */
.trade { background: var(--paper-2); padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.trade-head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.trade-head p { color: var(--moss); font-size: 1.125rem; max-width: 46ch; }
.trade-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.trade-list li { border-top: 1px solid var(--forest); padding-top: 1.5rem; }
.trade-list h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.trade-list p { margin-top: .75rem; color: var(--moss); max-width: 34ch; }
.trade-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.trade-cta p { color: var(--stone); font-size: .9375rem; }

/* Story */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.story figure { aspect-ratio: 4 / 5; overflow: hidden; }
.story figure img { width: 100%; height: 100%; object-fit: cover; }
.story-copy p { margin-top: 1.25rem; max-width: 46ch; color: var(--moss); font-size: 1.125rem; }
.story-copy p:first-of-type { margin-top: 1.75rem; }
.story-copy .link { display: inline-block; margin-top: 2rem; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 2.5rem var(--gutter) 2rem; display: grid; gap: 1rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.foot a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot a:hover { border-color: var(--brass); }
.foot-small { font-size: .875rem; color: var(--stone); }

@media (max-width: 900px) {
  .top-nav a:not(.btn) { display: none; }
  .prints-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat-list { grid-template-columns: 1fr; }
  .trade-head, .trade-list { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story figure { max-width: 440px; }
}
@media (max-width: 560px) {
  .brand span { font-size: 1.2rem; white-space: nowrap; }
  .top .btn { white-space: nowrap; }
  .cover > img { object-position: 70% center; }
  .top .btn { min-height: 42px; padding: .6rem 1rem; font-size: .875rem; }
  .prints-grid { grid-template-columns: 1fr; }
  .cover .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
