@font-face {
  font-family: Photogenic;
  src: url('assets/fonts/photogenic.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Filson Pro';
  src: url('assets/fonts/filson-pro-book.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Filson Pro';
  src: url('assets/fonts/filson-pro-bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #18351f;
  --forest-dark: #102818;
  --gold: #e4b35c;
  --cream: #faf7ef;
  --ink: #203a28;
  --body: 'Filson Pro', 'Trebuchet MS', system-ui, sans-serif;
  --display: Photogenic, 'Segoe Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ab7725; outline-offset: 4px; }
.hero-header :focus-visible, .hero-copy :focus-visible { outline-color: var(--gold); }
.container { width: min(1232px, calc(100% - 112px)); margin-inline: auto; }

.hero {
  color: #fffdf7;
  background:
    linear-gradient(90deg, #102818fa 8%, #132e1bf5 31%, #173620d9 45%, #20462b6b 70%, #20462b45),
    linear-gradient(180deg, #102818eb 0, #15351c82 105px, transparent 36%, #10281878 100%),
    var(--forest-dark) url('assets/prato.jpg') center 14% / cover no-repeat;
}
.hero-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 31px; border-bottom: 1px solid #fffdf728; }
.logo { width: 223px; }
.contact-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 21px; border: 1px solid #e4b35c7a; border-radius: 99px; font-weight: 700; text-decoration: none; text-align: center; }
.contact-link:hover { color: var(--forest-dark); background: var(--gold); }
.header-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5.5vw, 88px); align-items: center; min-height: clamp(500px, 42vw, 605px); padding-block: 54px 75px; }
h1 { margin: 0; font-size: clamp(1.4rem, 3.05vw, 2.75rem); font-weight: 400; line-height: 1.2; }
h1 span { display: block; color: var(--gold); font: 400 clamp(4.8rem, 9.25vw, 8.8rem)/1 var(--display); }
.announcement { max-width: 410px; margin-top: 27px; color: #f0eee4; font-size: 1.0625rem; }
.announcement p { margin: 0 0 12px; }
.social { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.social span { color: #efd39b; margin-right: 7px; font-size: .9rem; }
.social a { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #e4b35c86; border-radius: 50%; color: #f8dba3; }
.social a:hover { background: var(--gold); color: var(--forest-dark); }
.social svg { width: 21px; height: 21px; }

.email { font-weight: 700; text-decoration-color: #a07128; text-underline-offset: 4px; overflow-wrap: anywhere; }
.form { min-width: 0; scroll-margin-block: 24px; color: var(--ink); background: #fffefa; border: 1px solid #e5ddca; border-radius: 20px; padding: clamp(18px, 3.2vw, 38px); box-shadow: 0 15px 42px #10281840; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; min-width: 0; font-weight: 700; }
.wide { grid-column: 1 / -1; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #bcb9a9; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.form input { min-height: 46px; }
.form textarea { resize: vertical; }
.form-extra { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.form button { margin-top: 21px; padding: 11px 23px; min-height: 48px; border: 0; border-radius: 99px; color: #fffdf7; background: var(--forest); font: inherit; font-weight: 700; cursor: pointer; }
.form button:hover:not(:disabled) { background: #2b5436; }
.form button:disabled { background: #5c6d61; cursor: default; }
.form-status { margin: 12px 0 0; font-size: .9375rem; }
.form-status:empty { margin: 0; }
.form-status[data-state="error"] { color: #8e321e; }
.form-status[data-state="success"] { color: #285b32; }
.footer .container { padding-block: 25px; border-top: 1px solid #ddd3bd; }
.footer img { width: 150px; }

@media (max-width: 900px) {
  .container { width: calc(100% - 64px); }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .hero-header { padding-block: 18px; }
  .logo { width: min(48%, 185px); }
  .contact-link { padding-inline: 13px; font-size: .875rem; }
  .hero { background: var(--forest-dark); }
  .hero-content { grid-template-columns: 1fr; min-height: 0; padding-block: 44px 48px; gap: 36px; }
  .hero-copy { position: relative; isolation: isolate; }
  .hero-copy::before {
    content: '';
    position: absolute;
    inset: -43px -20px -24px;
    z-index: -1;
    background:
      linear-gradient(180deg, #102818 0%, #102818bd 24%, #102818c9 75%, #102818 100%),
      linear-gradient(90deg, #10281880, transparent),
      url('assets/prato.jpg') center 38% / cover no-repeat;
  }
}

@media (max-width: 460px) {
  .form-fields { grid-template-columns: 1fr; }
  .header-links { gap: 6px; }
  .header-links .contact-link { padding-inline: 10px; font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
