
@font-face {
  font-family: FrooniaSerif;
  src: local("Georgia");
}

:root {
  --paper: #f5eee3;
  --cream: #fffaf2;
  --ink: #223640;
  --blue: #1f3a46;
  --blue-soft: #e0ebee;
  --clay: #c76e43;
  --sand: #d8bf9d;
  --line: rgba(34, 54, 64, 0.16);
  --muted: #67737a;
  --shadow: 0 24px 70px rgba(31, 58, 70, 0.1);
  --max: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(199,110,67,0.10), transparent 32rem),
    linear-gradient(180deg, var(--paper), #fbf6ef);
  color: var(--ink);
  font-family: Avenir Next, Trebuchet MS, Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: FrooniaSerif, Georgia, serif;
  letter-spacing: -0.055em;
  line-height: 0.96;
  font-weight: 700;
}

h1 { font-size: clamp(54px, 8vw, 94px); margin-bottom: 22px; }
h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.2; margin-bottom: 10px; }

.site-header {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 22px;
}

.topline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.brand-block {
  display: grid;
  gap: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.brand-name {
  font-family: FrooniaSerif, Georgia, serif;
  font-size: 42px;
  letter-spacing: -0.06em;
  color: var(--blue);
  font-weight: 700;
}

.brand-note {
  margin: 0;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 900;
}

.main-nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.main-nav a {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width .2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
  justify-self: end;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--blue);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-grid,
.editor-strip,
.travel-notes-panel,
.builder-panel,
.postcard-panel,
.page-shell,
.article-shell,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.hero-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-size: 12px;
  font-weight: 900;
}

.hero-text,
.builder-info p,
.page-banner p,
.contact-box p,
.legal-panel p,
.article-intro p:not(.kicker),
.article-content p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button.solid {
  background: var(--blue);
  color: white;
  box-shadow: 0 16px 34px rgba(31,58,70,0.16);
}
.button.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--blue);
}

.hero-mosaic {
  position: relative;
  min-height: 610px;
}

.mosaic-large {
  width: 82%;
  height: 590px;
  margin-left: auto;
  object-fit: cover;
  border-radius: 38px 38px 12px 38px;
  box-shadow: var(--shadow);
}

.mosaic-small {
  width: 44%;
  height: 245px;
  object-fit: cover;
  position: absolute;
  left: 0;
  bottom: 12px;
  border: 12px solid var(--paper);
  border-radius: 10px 28px 28px 28px;
  box-shadow: var(--shadow);
}

.editor-strip {
  margin-top: 82px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
  align-items: start;
  padding: 0 0 24px;
  border-bottom: 1px dashed rgba(34,54,64,0.18);
}

.route-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.route-tab,
.filter-pill,
.save-note {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: var(--blue);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
}

.route-tab.active,
.filter-pill.active {
  background: var(--clay);
  border-color: var(--clay);
  color: white;
}

.route-text {
  margin: 0;
  padding: 18px;
  background: var(--blue-soft);
  border-radius: 18px;
  color: var(--blue);
  font-weight: 800;
}

.travel-notes-panel,
.builder-panel,
.postcard-panel {
  margin-top: 80px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  max-width: none;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.note-card {
  background: rgba(255,250,242,0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 48px rgba(31,58,70,0.06);
  transition: transform .22s ease;
}

.note-card:hover { transform: translateY(-4px); }

.note-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

.note-meta {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.note-card p { color: var(--muted); margin-bottom: 0; }

.builder-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.builder-info,
.builder-tool,
.page-banner,
.packing-layout,
.legal-panel,
.contact-box,
.contact-form,
.article-intro,
.article-content,
.article-side {
  background: rgba(255,250,242,0.88);
  border: 1px solid var(--line);
  box-shadow: 0 18px 56px rgba(31,58,70,0.06);
}

.builder-info,
.builder-tool,
.page-banner,
.legal-panel,
.contact-box,
.contact-form {
  border-radius: 26px;
  padding: 30px;
}

.builder-tool {
  display: grid;
  gap: 14px;
}

.builder-tool label {
  font-weight: 900;
  color: var(--blue);
}

.builder-tool select {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
}

.idea-box {
  min-height: 120px;
  padding: 18px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.postcard-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.postcard {
  min-width: 300px;
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
}

.postcard img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.postcard span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,250,242,0.9);
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31,58,70,0.80);
  display: none;
  place-items: center;
  padding: 26px;
  z-index: 100;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-height: 78vh;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}
.lightbox p { color: white; font-weight: 900; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-size: 28px;
  cursor: pointer;
}

.page-shell { margin-top: 54px; }
.narrow-shell { max-width: 880px; }

.page-banner {
  margin-bottom: 22px;
}

.page-banner h1 {
  font-size: clamp(46px, 7vw, 80px);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.note-grid-list {
  grid-template-columns: repeat(2, 1fr);
}

.packing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  border-radius: 26px;
  padding: 26px;
}

.packing-layout img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

.packing-board {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.packing-board label {
  background: rgba(255,250,242,0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  font-weight: 800;
  color: var(--blue);
}

.packing-board input {
  accent-color: var(--clay);
  margin-right: 8px;
}

.packing-footer {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.packing-footer p {
  margin: 0;
  color: var(--muted);
}

.article-shell { margin-top: 54px; }

.article-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.article-top img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article-intro {
  border-radius: 26px;
  padding: 30px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--clay);
  font-weight: 900;
}

.article-columns {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.article-side {
  border-radius: 24px;
  padding: 24px;
  position: sticky;
  top: 24px;
}

.side-label {
  margin: 0 0 12px;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
}

.article-side ul {
  padding-left: 18px;
  color: var(--muted);
}

.article-content {
  border-radius: 26px;
  padding: 30px;
}

.article-content h2,
.legal-panel h2 {
  font-size: 30px;
  margin-top: 28px;
}

.article-content h2:first-child,
.legal-panel h2:first-child {
  margin-top: 0;
}

.article-nav {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.legal-banner { margin-bottom: 22px; }
.legal-panel { border-radius: 26px; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.email-panel {
  margin-top: 24px;
  background: var(--blue-soft);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.email-panel span {
  color: var(--clay);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.email-panel a {
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: 26px;
}

.contact-form label {
  color: var(--blue);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  background: white;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.builder-tool select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(199,110,67,0.14);
}

#formNote { margin: 0; color: var(--muted); }

.site-footer {
  margin-top: 86px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-family: FrooniaSerif, Georgia, serif;
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 6px;
}

.site-footer p {
  color: var(--muted);
  max-width: 470px;
  margin-bottom: 0;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.footer-right a {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
}

@media (max-width: 1000px) {
  .hero-grid,
  .builder-panel,
  .packing-layout,
  .article-top,
  .article-columns,
  .contact-layout,
  .editor-strip {
    grid-template-columns: 1fr;
  }

  .note-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packing-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-mosaic {
    min-height: auto;
  }

  .mosaic-large {
    width: 100%;
    height: 460px;
  }

  .mosaic-small {
    display: none;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .topline {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-grid,
  .editor-strip,
  .travel-notes-panel,
  .builder-panel,
  .postcard-panel,
  .page-shell,
  .article-shell,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .note-grid,
  .note-grid-list,
  .packing-board {
    grid-template-columns: 1fr;
  }

  .section-head-split,
  .site-footer,
  .packing-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(44px, 15vw, 70px); }
  .brand-name { font-size: 34px; }
  .mosaic-large,
  .article-top img,
  .packing-layout img { height: 340px; }
  .postcard,
  .postcard img { min-width: 260px; width: 260px; }
  .postcard img { height: 350px; }
}


/* Froonia V3 separate utility pages */
.contact-postcard-page,
.policy-page,
.terms-page {
  width: min(var(--max), calc(100% - 40px));
  margin: 54px auto 0;
}

.contact-intro-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}

.contact-intro-band h1 {
  font-size: clamp(46px, 7vw, 82px);
}

.contact-intro-band p {
  color: var(--muted);
  font-size: 18px;
}

.contact-postcard-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.contact-photo-strip {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stamp-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  background: rgba(255,250,242,0.92);
  border: 1px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 22px;
}

.stamp-card span,
.postcard-topline span,
.email-panel span {
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 900;
}

.stamp-card strong {
  display: block;
  margin: 6px 0;
  font-size: 24px;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.stamp-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.postcard-form {
  background:
    repeating-linear-gradient(0deg, rgba(31,58,70,0.06) 0 1px, transparent 1px 38px),
    rgba(255,250,242,0.92);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 18px 56px rgba(31,58,70,0.06);
  display: grid;
  gap: 16px;
}

.postcard-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 14px;
}

.postcard-form label {
  font-weight: 900;
  color: var(--blue);
}

.postcard-form input,
.postcard-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 0;
  border-bottom: 1px solid rgba(31,58,70,0.24);
  border-radius: 0;
  padding: 12px 2px;
  background: transparent;
  font: inherit;
  color: var(--ink);
  outline: none;
}

.postcard-form textarea {
  resize: vertical;
}

.postcard-form input:focus,
.postcard-form textarea:focus {
  border-bottom-color: var(--clay);
  box-shadow: none;
}

.message-note {
  color: var(--muted);
  margin: 0;
}

.contact-mini-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-mini-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-mini-list span {
  color: var(--clay);
  font-weight: 900;
}

.contact-mini-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.policy-cover {
  min-height: 340px;
  border-radius: 34px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  background:
    linear-gradient(120deg, rgba(31,58,70,0.78), rgba(31,58,70,0.18)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: white;
  box-shadow: var(--shadow);
}

.policy-cover .kicker {
  color: var(--sand);
}

.policy-cover h1 {
  font-size: clamp(50px, 8vw, 90px);
  margin-bottom: 0;
}

.policy-cover p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-weight: 800;
}

.policy-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  align-items: start;
}

.policy-index {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border-left: 3px solid var(--clay);
  background: rgba(255,250,242,0.62);
}

.policy-index a {
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.policy-sections {
  display: grid;
  gap: 16px;
}

.policy-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0 24px;
  border-bottom: 1px solid var(--line);
}

.policy-row > span {
  font-family: FrooniaSerif, Georgia, serif;
  font-size: 34px;
  color: var(--clay);
  line-height: 1;
}

.policy-row h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.policy-row p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 0;
}

.terms-cover {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: stretch;
}

.terms-title-card {
  background: var(--blue);
  color: white;
  border-radius: 34px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  box-shadow: var(--shadow);
}

.terms-title-card .kicker {
  color: var(--sand);
}

.terms-title-card h1 {
  font-size: clamp(50px, 8vw, 86px);
}

.terms-title-card p {
  color: rgba(255,255,255,0.76);
  margin-bottom: 0;
}

.terms-cover img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.terms-board {
  margin-top: 30px;
  columns: 2;
  column-gap: 24px;
}

.terms-board article {
  break-inside: avoid;
  background: rgba(255,250,242,0.8);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  margin: 0 0 24px;
  box-shadow: 0 18px 56px rgba(31,58,70,0.05);
}

.terms-board article span {
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 900;
}

.terms-board article h2 {
  font-size: 30px;
  margin-top: 10px;
}

.terms-board article p {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .contact-intro-band,
  .contact-postcard-layout,
  .policy-layout,
  .terms-cover {
    grid-template-columns: 1fr;
  }

  .policy-index {
    position: static;
  }

  .contact-mini-list {
    grid-template-columns: 1fr;
  }

  .terms-board {
    columns: 1;
  }
}

@media (max-width: 760px) {
  .contact-postcard-page,
  .policy-page,
  .terms-page {
    width: min(100% - 24px, var(--max));
  }

  .policy-cover {
    min-height: 300px;
    align-items: start;
    flex-direction: column;
  }

  .policy-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-photo-strip {
    min-height: 420px;
  }

  .terms-title-card,
  .terms-cover img {
    min-height: auto;
    height: auto;
  }

  .terms-cover img {
    height: 320px;
  }
}
