/* Shared website primitives. Visual values follow the approved handoff. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, form { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.065em; }
p { line-height: 1.55; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 6px; }
.skip { position: absolute; left: 20px; top: -80px; background: var(--paper); padding: 14px; z-index: 3; }
.skip:focus { top: 10px; }
.site-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { object-fit: contain; }
.site-header nav { display: flex; align-items: center; font-size: 14px; }
.menu-button { display: none; min-height: 44px; background: none; border: 1px solid var(--line); padding: 0 16px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: var(--paper); min-height: 52px; font-size: 15px; border: 1px solid var(--ink); }
.button span { font-size: 22px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.intro-text { color: var(--muted); }
.gallery-hero { display: grid; align-items: center; }
.gallery-hero .button { margin-top: 32px; }
.gallery-hero figure { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.gallery-hero .garden { width: 100%; object-fit: cover; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 13px; color: var(--muted); }
.footer nav { display: flex; gap: 24px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
.soon-main { min-height: calc(100dvh - 200px); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 10%; }
.soon-main h1 { margin: 24px 0; overflow-wrap: anywhere; }
.soon-main p { max-width: 450px; font-size: 20px; color: var(--muted); }
.soon-main .button { margin-top: 34px; }
.soon-main img { width: 100%; max-width: 360px; }
.soon-main .availability { margin-top: 25px; font-size: 14px; }
@media (max-width: 800px) {
  .site-header { min-height: 74px; position: relative; }
  .menu-button:not([hidden]) { display: block; }
  .site-header nav { flex-wrap: wrap; padding-block: 10px; }
  .site-header:has(.menu-button[hidden]) { flex-wrap: wrap; padding-bottom: 10px; }
  .site-header:has(.menu-button[hidden]) nav { width: 100%; }
  .site-header:has(.menu-button:not([hidden])) nav { display: none; position: absolute; top: 100%; left: -6.8%; right: -6.8%; padding: 18px 7%; background: var(--paper); z-index: 2; }
  .site-header:has(.menu-button:not([hidden])) nav.open { display: flex; }
  .footer { display: block; }
  .footer nav { margin-top: 10px; gap: 20px; }
  .soon-main { grid-template-columns: 1fr; gap: 30px; }
  .soon-main img { max-width: 210px; margin: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Final Art Gallery layout. */
body {
  max-width: 1600px;
  margin-inline: auto;
  --paper: #f4f1e9;
  --ink: #263c33;
  --muted: #5b655d;
  --line: #cdd1c5;
  --accent: #456650;
  --card: #e9eddf;
  --mount: #fcfaf4;
}
.site-header { margin: 0 5%; border-bottom: 0; }
.brand img { width: 180px; height: 60px; }
.site-header nav { gap: 34px; }
.button { border-radius: 40px; padding: 16px 25px; }
.button:hover { transform: none; }
.button span { transition: transform .2s; }
.button:hover span { transform: translate(3px,-3px); }
.menu-button { border-radius: 30px; }
.gallery-hero {
  padding: 54px 5% 52px;
  min-height: 590px;
  gap: 5%;
  grid-template-columns: 1fr 1.12fr;
}
.gallery-hero .copy { padding-left: 3%; }
.gallery-hero h1 {
  font-size: clamp(56px,6.6vw,96px);
  line-height: 1.03;
  margin: 25px 0 24px;
}
h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: 1.12;
  display: inline-block;
  padding-bottom: .05em;
}
.intro-text { max-width: 335px; font-size: 18px; }
.gallery-hero figure { padding: 0 8px; }
.art-print {
  border: 0;
  padding: 13px 13px 29px;
  width: 100%;
  background: var(--mount);
  transform: rotate(1.4deg);
  box-shadow: 0 12px 32px #294d3510;
  cursor: zoom-in;
}
.gallery-hero .garden {
  height: clamp(330px,35vw,480px);
  object-position: 65% center;
}
.welcome {
  margin: 0 5%;
  padding: 62px 3% 72px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 5%;
  align-items: center;
}
.welcome-heading { display: flex; align-items: center; gap: 24px; }
.welcome-heading img { width: 104px; flex-shrink: 0; transform: rotate(-8deg); }
.welcome h2 { font-family: Georgia,serif; font-size: 41px; line-height: 1.14; letter-spacing: -.045em; }
.welcome p { font-size: 21px; max-width: 510px; color: var(--muted); }
.drawing-details { margin: -24px 8% 0; padding-bottom: 54px; }
.drawing-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: 5%; padding: 27px 0; border-top: 1px solid var(--line); }
.drawing-detail h3 { font-size: 26px; font-weight: 400; letter-spacing: -.04em; line-height: 1.2; }
.drawing-detail p { font-size: 17px; color: var(--muted); max-width: 510px; }
.on-the-way { padding: 74px 7% 88px; background: var(--card); }
.on-the-way h2 { font-size: clamp(38px,4.5vw,62px); max-width: 700px; line-height: 1.08; }
.on-the-way>p { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 480px; }

.other-pages small { font-size: 12px; color: var(--muted); }

.other-pages p { max-width: 340px; color: var(--muted); font-size: 16px; }

.other-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 34px; }
.other-pages a { padding: 20px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-content: center; }
.other-pages a+a { border-top: 0; }
.other-pages h3 { font-size: 27px; font-weight: 400; letter-spacing: -.04em; }
.other-pages small { grid-column: 1; }
.other-pages p { grid-column: 1; }
.other-pages span { grid-column: 2; grid-row: 1 / 4; align-self: center; font-size: 24px; }
.other-pages a:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.footer { margin: 0 5%; padding: 26px 0; border-top: 0; }
.soon-main { padding: 72px 8%; }
.soon-main .eyebrow { font-size: 12px; }
.soon-main h1 { font-family: Georgia,serif; font-size: clamp(62px,7.5vw,105px); letter-spacing: -.055em; line-height: 1.03; }
.soon-main img { transform: rotate(-6deg); }
dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 20px; width: min(1100px,92vw); max-height: 92dvh; border-radius: 8px; }
dialog::backdrop { background: #18261cbb; }
dialog .modal-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
dialog h2 { font-size: 24px; letter-spacing: -.035em; }
dialog button { border: 1px solid var(--line); padding: 10px 18px; min-height: 44px; border-radius: 25px; background: var(--paper); }
dialog img { width: 100%; max-height: 68dvh; object-fit: contain; }

@media(prefers-reduced-motion:no-preference) {
  .art-print { transition: transform .3s ease; }
  .art-print:hover { transform: rotate(0); }
}
@media(prefers-reduced-motion:reduce) {
  .button span { transition: none; }
  .button:hover span { transform: none; }
}
@media(max-width:800px) {
  .site-header { margin: 0 6%; }
  .brand img { width: 150px; height: 50px; }
  .site-header nav { gap: 8px 25px; border-bottom: 0; box-shadow: 0 12px 24px #263c3312; }
  .gallery-hero { grid-template-columns: 1fr; min-height: 0; padding: 36px 6% 36px; gap: 34px; }
  .gallery-hero .copy { padding: 0; }
  .gallery-hero h1 { font-size: clamp(49px,14vw,62px); margin: 19px 0 16px; }
  .intro-text { font-size: 17px; max-width: 320px; }
  .gallery-hero .button { margin-top: 25px; }
  .gallery-hero figure { padding: 0 4px; }
  .art-print { padding: 9px 9px 20px; transform: rotate(1deg); }
  .gallery-hero .garden { height: auto; aspect-ratio: 1.15; }
    .welcome { grid-template-columns: 1fr; gap: 26px; padding: 42px 1% 48px; margin: 0 6%; }
  .welcome-heading { gap: 20px; }
  .welcome-heading img { width: 78px; }
  .welcome h2 { font-size: 33px; }
  .welcome p { font-size: 18px; }
  .drawing-details { margin: -10px 6% 0; padding-bottom: 32px; }
  .drawing-detail { grid-template-columns: 1fr; gap: 13px; padding: 24px 0; }
  .drawing-detail h3 { font-size: 25px; }
  .drawing-detail p { font-size: 16px; }
  .gallery-hero .button { gap: 18px; font-size: 14px; padding-inline: 21px; }
  .on-the-way { padding: 50px 6% 54px; }
  .on-the-way h2 { font-size: 39px; }

  .other-pages { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .other-pages a { padding: 24px 0; }
  .other-pages a+a { border-top: 1px solid var(--line); }
  .soon-main { padding: 46px 6%; }
  .soon-main h1 { font-size: clamp(42px,14vw,59px); }
  dialog { padding: 15px; }
  dialog h2 { font-size: 20px; }
}

/* Long labels remain readable at compact widths and larger text settings. */
.gallery-hero .copy, .gallery-hero figure, .drawing-detail > *, .other-pages > * { min-width: 0; }
.gallery-hero .button { max-width: 100%; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media(max-width:350px) {
  .gallery-hero .button { gap: 12px; padding-inline: 17px; font-size: 13px; }
  .welcome-heading { gap: 14px; }
  .welcome-heading img { width: 64px; }
  .welcome h2 { font-size: 31px; }

  }

/* Final link treatment: no permanent divider beneath the launch link. */
.site-header .launch { border-bottom: 0; }

body:has(dialog[open]) { overflow: hidden; }

/* Let enlarged text reflow instead of extending beyond a narrow viewport. */
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 em { max-width: 100%; }
.welcome-heading h2 { min-width: 0; }
.other-pages a { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; }
}
