@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f8f6ed;
  /* Match the opaque ivory at the artwork's left edge without covering the photo. */
  --canvas: #fffff6;
  --terracotta: #c26b4e;
  /* This terracotta shade keeps small cream button text above 4.5:1 contrast. */
  --terracotta-button: #ad5138;
  --coffee: #5b3a29;
  --olive: #7a8466;
  --sand: #ebddc7;
  --rule: rgba(91, 58, 41, 0.22);
  --sans: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; scrollbar-color: var(--olive) var(--canvas); }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--canvas); color: var(--coffee); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
::selection { color: var(--cream); background: var(--coffee); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--coffee); outline-offset: 6px; }
main:focus { outline: none; }
svg { display: block; }
.page-shell { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 20px; padding: 12px 18px; background: var(--coffee); color: var(--cream); transform: translateY(-200%); text-decoration: none; }
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--coffee); outline-offset: 4px; }
.landing-scene { display: flex; flex: 1; container-type: inline-size; }
.scene-content { --page-gutter: max(20px, calc((100cqw - 1200px) / 2)); display: flex; flex-direction: column; }
.scene-content main { display: flex; flex: 1; align-items: center; }
.site-header { display: flex; align-items: center; justify-content: flex-start; min-height: 80px; text-align: left; }
.header-status { font-size: 10px; letter-spacing: 0.09em; }
.status { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.status-dot { display: inline-block; width: 4px; height: 4px; background: var(--olive); border-radius: 50%; }
.hero { display: grid; gap: 44px; align-items: center; width: 100%; padding: 32px 0 56px; }
.hero-copy { width: 100%; min-width: 0; text-align: center; }
h1 { width: min(100%, 900px); margin: 0 auto; line-height: 1; }
/* A single image preserves the approved mark and loads over file:// as well as HTTP.
   Keep its previous 784/900.48 width ratio; intrinsic dimensions reserve its space. */
.hero-wordmark { display: block; width: calc(100% * 784 / 900.48); height: auto; margin-inline: auto; }
.hero-intro { max-width: 640px; margin: 32px auto 0; font-size: 17px; line-height: 1.75; letter-spacing: 0.055em; }
.coming-note { max-width: 610px; margin: 26px auto 0; font-size: 13px; line-height: 1.8; }
.hero-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.button { display: inline-grid; grid-template-columns: 23px minmax(0, 1fr) 23px; align-items: center; gap: 8px; width: 100%; min-height: 54px; padding: 15px 12px; border: 1px solid var(--coffee); border-radius: 6px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.4; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
/* Equal side columns keep the label centered in the button, independently of the arrow. */
.button::before { content: ""; grid-column: 1; grid-row: 1; }
.button > span:first-child { grid-column: 2; grid-row: 1; }
.button > .arrow { grid-column: 3; grid-row: 1; }
.button-primary { color: var(--cream); background: var(--terracotta-button); border-color: var(--terracotta-button); box-shadow: 0 2px 8px rgba(139, 69, 45, 0.10); transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 120ms var(--ease), box-shadow 120ms var(--ease); }
.button-primary:hover { background: #93432f; border-color: #93432f; }
.button-primary:active { transform: translateY(1px); box-shadow: 0 1px 3px rgba(139, 69, 45, 0.08); }
.button-secondary { color: var(--coffee); background: transparent; border-color: rgba(91, 58, 41, 0.64); }
.button-secondary:hover { background: var(--sand); }
.arrow { flex-shrink: 0; width: 23px; height: 18px; stroke: currentColor; stroke-width: 1.2; transition: transform 230ms var(--ease); }
.button:hover .arrow { transform: translateX(3px); }
/* Use the complete artwork: its left-edge dissolution is already in the PNG.
   The viewport-relative gutter reaches the right edge without scaling or cropping. */
.hero-figure { width: 100%; min-width: 0; margin: 0; justify-self: end; position: relative; aspect-ratio: 932 / 992; }
.hero-photo { display: block; width: 100%; }
.hero-image { display: block; width: 100%; height: auto; }
.site-footer { position: relative; z-index: 1; }
.site-footer { padding: 28px 0 32px; border-top: 1px solid var(--rule); text-align: center; }
.site-footer p { margin: 0; font-size: 10px; line-height: 1.7; letter-spacing: 0.045em; }

@media (max-width: 359px) {
  .page-shell { width: calc(100% - 32px); }
  .scene-content { --page-gutter: 16px; }
}
@media (min-width: 600px) {
  .page-shell { width: min(calc(100% - 80px), 1200px); }
  .scene-content { --page-gutter: max(40px, calc((100cqw - 1200px) / 2)); }
  .site-header { min-height: 88px; }
  .header-status { font-size: 11px; letter-spacing: 0.11em; }
  .hero { gap: 56px; padding-block: 32px 64px; }
  .hero-intro { margin-top: 40px; font-size: 20px; }
  .coming-note { margin-top: 30px; font-size: 14px; }
  .hero-actions { flex-direction: row; align-items: stretch; gap: 14px; margin-top: 32px; }
  .button { width: 285px; max-width: 100%; }
  .site-footer p { font-size: 11px; }
}
/* Fit the complete artwork to the desktop composition. The footer shares its
   light left column instead of creating a strip beneath the photograph. */
@media (min-width: 900px) and (min-aspect-ratio: 13 / 10) {
  /* Share one row with the footer so no horizontal strip interrupts the photo. */
  body {
    --composition-height: max(640px, 100svh);
    --photo-width: calc(var(--composition-height) * 932 / 992);
    --copy-width: min(50%, calc(100% - var(--photo-width) * 0.88));
    display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0;
  }
  .landing-scene, .site-footer { grid-column: 1; grid-row: 1; }
  .landing-scene { position: relative; }
  .scene-content { --content-inset: clamp(32px, 3.125cqw, 64px); width: 100%; }
  .site-header { position: absolute; z-index: 2; inset-block-start: 0; inset-inline-start: var(--content-inset); }
  .scene-content main { display: block; }
  .hero { grid-template-columns: var(--copy-width) minmax(0, 1fr); min-height: var(--composition-height); gap: 0; padding: 0; }
  .hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 1; padding: 88px var(--content-inset) 56px; }
  .hero-intro { margin-top: 32px; font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-figure { grid-column: 1 / -1; grid-row: 1; width: var(--photo-width); align-self: start; }
  .site-footer { align-self: end; justify-self: start; width: var(--copy-width); margin: 0; padding: 24px clamp(32px, 3.125vw, 64px); border: 0; }
}
/* The opaque right edge belongs to the canvas edge, not to a floating card.
   Keep the full original in normal flow; only the stacked composition softens its base. */
@media (width < 900px), (aspect-ratio < 13 / 10) {
  .landing-scene { position: relative; }
  .scene-content { width: 100%; }
  .site-header { position: absolute; z-index: 2; top: 0; left: var(--page-gutter); min-height: 56px; }
  .scene-content main { align-items: flex-start; }
  .hero { gap: 28px; padding: 0 0 32px; }
  .hero-figure { order: -1; width: 100%; margin: 0; }
  /* Keep the subject fully opaque. The two broad lobes make the last 12%
     slightly asymmetric, then all layers reach zero before the image ends.
     CSS gradients also work over file:// without an external mask request. */
  .hero-image {
    --bottom-dissolve:
      linear-gradient(to bottom, #000 88%, rgb(0 0 0 / .96) 90%, rgb(0 0 0 / .76) 92.5%, rgb(0 0 0 / .38) 95%, rgb(0 0 0 / .08) 97.5%, transparent 99.5%),
      radial-gradient(ellipse 62% 11% at 18% 86%, #000 0%, rgb(0 0 0 / .55) 42%, transparent 100%),
      radial-gradient(ellipse 48% 10% at 82% 88%, #000 0%, rgb(0 0 0 / .45) 40%, transparent 100%);
    -webkit-mask-image: var(--bottom-dissolve);
    mask-image: var(--bottom-dissolve);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .hero-copy { width: min(100%, 680px); margin-inline: auto; padding-inline: var(--page-gutter); }
  h1 { max-width: 440px; }
  .hero-intro { margin-top: 28px; }
  .site-footer { width: min(calc(100% - 40px), 600px); padding: 20px 0 28px; border: 0; }
}
/* Animate the figure as a whole: the movement stays within 6px.
   Content is visible by default; buttons never wait for an entrance animation. */
@media (prefers-reduced-motion: no-preference) {
  .hero-figure, .hero-wordmark { animation: artamima-enter 600ms var(--ease) 1; }
}
@keyframes artamima-enter {
  from { opacity: 0.94; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button-primary:active, .button:hover .arrow { transform: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
