:root {
  --ink:#183c32;
  --green:#173e34;
  --gold:#e6c88a;
  --paper:#f9f8f3;
  --text:#273c34;
  --soft:#606c61;
  --line:#d9ded3;
  --serif:"Baskerville","Times New Roman",Georgia,serif;
  --sans:"Helvetica Neue",Arial,sans-serif;
  color-scheme:light;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:1rem;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 1rem/1.55 var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-underline-offset:.24em;
}
button,input,textarea {
  font:inherit;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.65;
  cursor:progress;
}
img {
  display:block;
  max-width:100%;
}
h1,h2,h3,p {
  margin:0;
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #b08239;
  outline-offset:4px;
}
[hidden] {
  display:none!important;
}
.wrap {
  width:min(1280px,calc(100% - clamp(2rem,8vw,9rem)));
  margin-inline:auto;
}
.top-inner,.footer-inner,.hero-actions,.top nav,.brand,.school-lock,.date,.field-foot {
  display:flex;
  align-items:center;
}
.top-inner,.footer-inner {
  justify-content:space-between;
}
.top-inner {
  min-height:88px;
}
.brand {
  gap:11px;
  text-decoration:none;
  font:500 .9rem/1.15 var(--sans);
  letter-spacing:.01em;
}
.brand-num {
  display:grid;
  place-items:center;
  color:var(--paper);
  background:var(--green);
  font:italic 500 1.95rem/1 var(--serif);
  letter-spacing:-.1em;
  padding-right:3px;
  border-radius:50%;
  width:45px;
  height:45px;
}
.brand b {
  font-weight:600;
}
.top nav {
  gap:2.1rem;
}
.top nav a,.footer-inner a {
  text-decoration:none;
}
.top nav a {
  font-size:.92rem;
}
.top nav a:hover,.footer-inner a:hover {
  text-decoration:underline;
}
.skip {
  position:absolute;
  left:8px;
  top:-100px;
  background:white;
  z-index:20;
  padding:.5rem;
}
.skip:focus {
  top:8px;
}
.hero {
  background:var(--green);
  color:#faf8ed;
  overflow:hidden;
  isolation:isolate;
  position:relative;
  border-radius:5px;
  display:grid;
  grid-template-columns:1.06fr .94fr;
  align-items:stretch;
  padding:clamp(36px,4.2vw,65px) clamp(28px,4.6vw,70px);
  gap:clamp(2rem,4.5vw,5rem);
}
.hero-text {
  max-width:610px;
  align-self:center;
  position:relative;
  z-index:1;
}
.date,.kicker {
  font-size:.77rem;
  font-weight:600;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.date {
  gap:12px;
  color:var(--gold);
}
.gold-rule {
  width:29px;
  height:1px;
  background:currentColor;
}
.occasion {
  font-family:var(--serif);
  font-size:clamp(1.45rem,2.3vw,2.05rem);
  margin:clamp(24px,3.3vw,47px) 0 6px;
  color:#e1e8d9;
}
h1 {
  font:400 clamp(4.7rem,7.65vw,7.3rem)/.85 var(--serif);
  letter-spacing:-.052em;
}
h1 em,h2 em {
  font-weight:400;
}
h1 em {
  color:var(--gold);
}
.hero-quote {
  color:#f5f2e6;
  font:400 clamp(1.15rem,1.65vw,1.52rem)/1.38 var(--serif);
  max-width:395px;
  margin:clamp(22px,2.3vw,34px) 0 0;
}
.hero-actions {
  gap:20px;
  margin-top:clamp(25px,3.2vw,48px);
  flex-wrap:wrap;
}
.button,.outline {
  display:inline-flex;
  min-height:49px;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:4px;
  font:600 .96rem/1.2 var(--sans);
  padding:14px 27px;
  text-decoration:none;
  transition:background .18s,color .18s,transform .18s;
}
.button {
  background:var(--gold);
  color:#153729;
}
.button:hover {
  background:#f6dfac;
  transform:translateY(-1px);
}
.button.dark {
  background:var(--green);
  color:white;
}
.button.dark:hover {
  background:#295844;
}
.school-lock {
  gap:9px;
  text-decoration:none;
  font-size:.81rem;
  line-height:1.27;
  color:#e5eadd;
}
.mark-frame {
  background:#f4f4e8;
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  border-radius:50%;
}
.mark-frame img {
  width:24px;
  height:24px;
  object-fit:contain;
}
.portrait-wrap {
  align-self:stretch;
  position:relative;
  min-height:450px;
  border-radius:48% 48% 3px 3px/38% 38% 3px 3px;
  overflow:hidden;
  z-index:1;
  background:#456744;
}
.portrait {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 39%;
  position:absolute;
  inset:0;
}
.grid-paper {
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:linear-gradient(#96b49f12 1px,transparent 1px),linear-gradient(90deg,#96b49f12 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(90deg,transparent 4%,#000 90%);
}
.hero-orbit {
  pointer-events:none;
  position:absolute;
  right:-9%;
  bottom:-56%;
  width:71%;
  aspect-ratio:1;
  border:1px solid #c0cd9b4a;
  border-radius:50%;
  z-index:0;
}
.hero-orbit i {
  position:absolute;
  border:1px solid #c0cd9b43;
  border-radius:50%;
  inset:8%;
}
.hero-orbit i:nth-child(2) {
  inset:16%;
}
.hero-orbit i:nth-child(3) {
  inset:24%;
}
.section-grid {
  display:grid;
  grid-template-columns:minmax(215px,.72fr) minmax(0,1.5fr);
  gap:clamp(38px,7vw,120px);
}
.appeal,.form-section {
  padding:clamp(58px,6.7vw,100px) clamp(0px,3.4vw,50px);
}
.kicker {
  color:#606f5c;
  letter-spacing:.12em;
  display:block;
  margin-bottom:19px;
  font-size:.8rem;
}
.section-intro h2 {
  font:400 clamp(2.75rem,4.6vw,4.5rem)/.99 var(--serif);
  letter-spacing:-.055em;
}
.section-intro h2 em {
  color:#4b6c53;
}
.section-intro>p {
  margin-top:20px;
  max-width:370px;
  color:var(--soft);
}
.geo-icon {
  width:64px;
  height:64px;
  position:relative;
  margin:36px 0 0 6px;
  color:#81967e;
}
.geo-icon i {
  position:absolute;
  width:42px;
  height:42px;
  border:1px solid currentColor;
  border-radius:50%;
  top:10px;
  left:10px;
  transform:translateX(-12px);
}
.geo-icon i:nth-child(2) {
  transform:translateX(12px);
}
.geo-icon i:nth-child(3) {
  transform:translateY(-12px);
}
.geo-icon i:nth-child(4) {
  transform:translateY(12px);
}
.letter {
  max-width:740px;
  color:var(--text);
  font-size:1.04rem;
  line-height:1.66;
}
.letter p+p {
  margin-top:17px;
}
.letter .lead,.letter .thanks,.signature {
  font-family:var(--serif);
}
.letter .lead {
  font-size:clamp(1.65rem,2.4vw,2.3rem);
  line-height:1.19;
  letter-spacing:-.025em;
  color:var(--ink);
  margin-top:-3px;
}
.letter .thanks {
  font-size:1.55rem;
}
.letter .signature {
  font-size:1.6rem;
  font-style:italic;
  color:#567052;
  margin-top:5px;
}
.form-section {
  border-bottom:1px solid var(--line);
}
.form-panel {
  max-width:740px;
}
.names {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
label:not(.check) {
  display:block;
  font-size:.95rem;
  font-weight:600;
  margin:0 0 6px;
}
input:not([type=checkbox]),textarea {
  background:#fffefa;
  border:1px solid #aeb8aa;
  border-radius:3px;
  color:#18382c;
  width:100%;
  padding:12px 14px;
  font-size:1rem;
}
textarea {
  resize:vertical;
  min-height:140px;
}
.names+.field, .names+label {
  margin-top:15px;
}
.field-foot {
  justify-content:space-between;
  align-items:start;
  margin:1px 0 15px;
  font-size:.8rem;
  color:var(--soft);
}
#count {
  white-space:nowrap;
  margin-left:auto;
}
.check {
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--text);
  font-size:.92rem;
  margin:10px 0 0;
}
.check input {
  width:19px;
  height:19px;
  flex:none;
  accent-color:var(--green);
  margin:3px 0 0;
}
.error,.status,.notice {
  display:block;
}
.error {
  color:#963e2e;
  font-size:.88rem;
}
.error:empty,.status:empty {
  display:none;
}
.status,.notice {
  margin:.9rem 0;
  font-size:.94rem;
}
.notice {
  background:#f0eee3;
  border-left:3px solid #a98742;
  padding:8px 12px;
}
.status {
  color:#873b2a;
}
form>.button {
  margin-top:20px;
}
.direct {
  display:flex;
  gap:10px 22px;
  flex-wrap:wrap;
  margin-top:22px;
}
.direct a {
  font-size:.91rem;
}
.muted-link,.footer-inner {
  color:var(--soft);
}
.success-symbol {
  border:1px solid #a0af91;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
}
.form-panel h3 {
  font:400 2rem/1.15 var(--serif);
  margin:15px 0;
}
.form-panel #success p {
  margin-bottom:18px;
}
.wishes {
  background:#edf1e8;
  border-top:1px solid #dbe2d4;
  border-bottom:1px solid #dbe2d4;
  padding:clamp(50px,6vw,90px) 0;
}
.wishes .wrap {
  padding-inline:clamp(0px,3.4vw,50px);
}
.text-action {
  display:inline-block;
  margin-top:22px;
  font-weight:550;
}
.wish {
  background:var(--paper);
  border:1px solid #d7dfd1;
  border-radius:4px;
  padding:23px 28px;
  overflow-wrap:anywhere;
}
.wish+.wish {
  margin-top:12px;
}
.wish p {
  white-space:pre-wrap;
  font:400 1.24rem/1.5 var(--serif);
}
.wish h3 {
  font:600 .92rem/1.4 var(--sans);
  margin-top:14px;
}
#feed-state {
  font:400 1.5rem/1.4 var(--serif);
  color:#56705c;
  padding:10px 0;
}
#feed-state:empty {
  display:none;
}
.outline {
  border-color:#7d907b;
  color:var(--green);
  background:transparent;
  margin-top:12px;
}
.footer-inner {
  gap:15px;
  flex-wrap:wrap;
  padding:29px 0;
  font-size:.82rem;
}
.footer-inner>span:last-child {
  display:flex;
  gap:19px;
  flex-wrap:wrap;
}
@media(min-width:1550px) {
  .portrait-wrap {
    min-height:525px;
  }
}
@media(max-width:820px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .hero {
    gap:22px;
    padding:36px 26px;
  }
  .portrait-wrap {
    min-height:408px;
  }
  .hero-actions {
    gap:13px;
  }
  .school-lock {
    font-size:.75rem;
  }
  .section-grid {
    grid-template-columns:minmax(165px,.67fr) minmax(0,1.4fr);
    gap:32px;
  }
  .top nav {
    gap:18px;
  }
  .button {
    padding-inline:19px;
  }
}
@media(max-width:650px) {
  .top-inner {
    min-height:65px;
  }
  .wrap {
    width:calc(100% - 28px);
  }
  .brand-num {
    width:34px;
    height:34px;
    font-size:1.45rem;
  }
  .brand {
    font-size:.74rem;
    gap:7px;
  }
  .top nav {
    gap:11px;
  }
  .top nav a {
    font-size:.8rem;
  }
  .hero {
    grid-template-columns:1fr;
    padding:29px 25px 0;
    gap:29px;
  }
  .hero-text {
    max-width:100%;
  }
  .date {
    font-size:.75rem;
  }
  .occasion {
    margin-top:25px;
    font-size:1.5rem;
  }
  h1 {
    font-size:clamp(4.05rem,15.2vw,6rem);
  }
  h1 br {
    display:none;
  }
  h1 em:before {
    content:" ";
  }
  .hero-quote {
    max-width:380px;
    margin-top:17px;
    font-size:1.2rem;
  }
  .hero-actions {
    margin-top:23px;
  }
  .portrait-wrap {
    width:min(92%,360px);
    height:clamp(220px,56vw,340px);
    min-height:0;
    justify-self:center;
    border-radius:50% 50% 0 0/54% 54% 0 0;
  }
  .portrait {
    object-position:50% 30%;
  }
  .hero-orbit {
    width:130%;
    bottom:-36%;
    right:-32%;
  }
  .section-grid {
    grid-template-columns:1fr;
    gap:26px;
  }
  .appeal,.form-section,.wishes .wrap {
    padding-inline:6px;
  }
  .appeal,.form-section {
    padding-block:46px;
  }
  .section-intro h2 {
    font-size:2.8rem;
  }
  .section-intro h2 br {
    display:none;
  }
  .section-intro h2 em:before {
    content:" ";
  }
  .geo-icon {
    display:none;
  }
  .kicker {
    margin-bottom:11px;
  }
  .names {
    grid-template-columns:1fr;
    gap:13px;
  }
  .footer-inner {
    align-items:flex-start;
  }
  .direct {
    flex-direction:column;
    align-items:start;
  }
}
@media(max-width:385px) {
  .top nav a:first-child {
    display:none;
  }
  .hero {
    padding-inline:17px;
  }
  .school-lock {
    gap:5px;
  }
  .hero-actions {
    gap:10px;
  }
  .button {
    padding-inline:15px;
  }
  .mark-frame {
    width:31px;
    height:31px;
  }
  .hero-quote {
    font-size:1.12rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  * {
    transition:none!important;
  }
}
.info-title {
  font-size:clamp(2.5rem,7vw,4rem);
  line-height:1.05;
  margin-bottom:25px;
}
.info-copy {
  max-width:60ch;
  margin-bottom:25px;
}
.operator-contact {
  margin-top:16px;
  font-size:.9rem;
  color:var(--soft);
  overflow-wrap:anywhere;
}
.hero-text,.section-intro,.form-panel {
  min-width:0;
}
@media(min-width:651px) and (max-width:850px) {
  .section-intro h2 {
    font-size:clamp(2rem,4.25vw,2.55rem);
  }
}
@media(max-width:385px) {
  .section-intro h2 {
    font-size:clamp(2rem,10vw,2.45rem);
  }
}

.form-explanation{font-size:.86rem;line-height:1.6;color:#52625c;margin:18px 0}.form-explanation a{text-decoration:underline}.delete-wish{margin-top:16px;background:none;border:0;padding:0;color:#43665a;text-decoration:underline;font:inherit;font-size:.8rem;cursor:pointer}.delete-wish:disabled{opacity:.6;cursor:wait}.legal-document{max-width:900px;padding-top:48px;padding-bottom:64px}.legal-document h1{font-size:clamp(2rem,5vw,3.2rem);margin:28px 0 12px}.legal-document h2{font-size:1.35rem;margin:30px 0 12px}.legal-document p{font-size:1rem;line-height:1.75;margin:0 0 16px}.legal-document .legal-version{font-size:.85rem;color:#52625c}.legal-document nav{margin-top:32px}.legal-document a{text-decoration:underline}.legal-document .notice{margin:24px 0}
