/* Anne Raisor — Arrtful Creations. Custom lake art in resin & moss. */

:root {
  --deep:   #0f3a58;   /* deep lake blue */
  --water:  #2b7bb0;   /* mid water */
  --bright: #3fa9d8;   /* bright shallows */
  --moss:   #50772f;   /* moss green */
  --moss-lt:#8caf4c;   /* chartreuse moss */
  --sand:   #f7f2e9;   /* page background */
  --sand-2: #efe6d5;   /* card / alt background */
  --wood:   #b79b73;   /* driftwood accent */
  --ink:    #21303a;   /* text */
  --ink-soft:#5c6b73;  /* muted text */
  --line:   #e2d8c6;   /* hairlines */
  --white:  #fffdf9;

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(15, 58, 88, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: .01em; }

a { color: var(--water); text-decoration: none; }
a:hover { color: var(--deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--wood);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 233, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: baseline; gap: .55rem; }
.brand b { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; color: var(--deep); letter-spacing: .02em; }
.brand span { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-soft); }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { color: var(--ink); font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--water); }
.nav-cta {
  background: var(--deep); color: var(--white) !important;
  padding: .5rem 1.05rem; border-radius: 100px; font-size: .86rem;
}
.nav-cta:hover { background: var(--water); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: .85rem 1.7rem; border-radius: 100px;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--deep); color: var(--white); }
.btn-primary:hover { background: var(--water); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--deep); border: 1.5px solid var(--deep); }
.btn-ghost:hover { background: var(--deep); color: var(--white); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 88% 10%, rgba(63,169,216,.12), transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem;
  align-items: center; padding-top: 3.6rem; padding-bottom: 3.6rem;
}
.hero-copy h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); color: var(--deep); margin: 1rem 0 1.1rem; }
.hero-copy h1 em { font-style: italic; color: var(--moss); }
.hero-copy p.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover;
}
.hero-media .tag {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(255,253,249,.92); backdrop-filter: blur(6px);
  padding: .5rem .9rem; border-radius: 100px; font-size: .8rem; font-weight: 600;
  color: var(--deep); box-shadow: 0 6px 20px -8px rgba(0,0,0,.4);
}

/* ---------- Section scaffolding ---------- */
section { padding: 4.6rem 0; }
.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--deep); margin: .7rem 0 .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Process ---------- */
.process { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.process-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.steps { list-style: none; display: grid; gap: 1.5rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps .num {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--white);
  background: var(--moss); width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; flex: none;
}
.steps h3 { font-size: 1.15rem; color: var(--deep); margin-bottom: .2rem; }
.steps p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 3; column-gap: 1rem;
}
.gallery-grid figure {
  break-inside: avoid; margin: 0 0 1rem; position: relative; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -18px rgba(15,58,88,.5);
}
.gallery-grid img { width: 100%; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(15,58,88,.82));
  color: #fff; font-size: .82rem; opacity: 0; transition: opacity .25s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* ---------- About ---------- */
.about { background: var(--sand-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--deep); margin: .6rem 0 1rem; }
.about-copy p { color: var(--ink); margin-bottom: 1rem; font-size: 1.05rem; }
.about-copy .signature { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--moss); margin-top: .4rem; }

/* ---------- Commission form ---------- */
.commission { background: var(--deep); color: #eaf1f6; }
.commission .section-head h2 { color: #fff; }
.commission .section-head p { color: #b9d0e0; }
.form-card {
  background: var(--white); color: var(--ink);
  border-radius: 10px; padding: 2.4rem; max-width: 820px; margin: 0 auto;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field label .req { color: #c0562f; }
.field .hint { font-size: .76rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fdfbf6; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--water); box-shadow: 0 0 0 3px rgba(63,169,216,.18);
}
.field textarea { resize: vertical; min-height: 96px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-foot { margin-top: 1.6rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-foot .note { font-size: .84rem; color: var(--ink-soft); }
.form-status { margin-top: 1rem; font-size: .95rem; font-weight: 600; }
.form-status.err { color: #c0562f; }
.form-success {
  text-align: center; padding: 1rem 0;
}
.form-success h3 { color: var(--moss); font-size: 1.7rem; margin-bottom: .6rem; }
.form-success p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: #0b2d45; color: #cadcea; padding: 3rem 0 2rem; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-family: var(--serif); color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.footer p, .footer a { color: #a9c3d6; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; display: grid; gap: .4rem; }
.footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; padding-top: 1.2rem; font-size: .82rem; color: #7fa0b8; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(9,28,42,.94); align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox button {
  position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: none;
  color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .hero-media { order: -1; max-width: 420px; }
  .process-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-media { max-width: 420px; }
  .gallery-grid { columns: 2; }
  .nav-links { gap: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .5rem 1rem; font-size: .82rem; }
}
@media (max-width: 560px) {
  section { padding: 3.4rem 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .gallery-grid { columns: 1; }
  .footer .wrap { grid-template-columns: 1fr; }
}
