:root {
  --paper: #fbf9f4;
  --white: #fffefa;
  --ink: #473c34;
  --muted: #82776e;
  --brick: #9a6652;
  --line: #e9e1d8;
  --peach: #f2e3d8;
  --sage: #a7b2a0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.62 'Segoe UI', Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.shell { max-width: 1130px; margin: auto; padding: 0 38px; }
.top {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo {
  font: 700 31px/1 Georgia, serif;
  letter-spacing: -1.6px;
  color: #855d4c;
}
.logo span { color: #b98f79; }
.subtitle {
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 9px;
}
.nav { font-size: 14px; color: var(--muted); }
.nav a { border-bottom: 1px solid #b8a9a0; padding-bottom: 4px; }
.main { min-height: 690px; position: relative; overflow: hidden; }
.decor { position: absolute; pointer-events: none; }
.blob1 {
  width: 375px; height: 390px;
  border-radius: 53% 47% 60% 40%;
  background: #f2e4d9;
  right: -160px; top: 66px;
  transform: rotate(23deg);
  opacity: .72;
}
.blob2 {
  width: 290px; height: 270px;
  border-radius: 50% 50% 48% 52%;
  background: #edf0e7;
  left: -190px; bottom: -155px;
}
.plant { right: -53px; top: 166px; width: 250px; transform: rotate(9deg); opacity: .65; }
.plant-left { left: -76px; bottom: 50px; width: 210px; transform: rotate(-19deg) scaleX(-1); opacity: .33; }
.content { position: relative; max-width: 710px; margin: 0 auto; padding: 83px 20px 95px; text-align: center; }
.eyebrow {
  font-size: 11px; letter-spacing: 3.2px; text-transform: uppercase;
  color: #9e7b65; font-weight: 700; margin-bottom: 16px;
}
.ornament { width: 78px; height: 1px; background: #c2ac9a; margin: 0 auto 24px; position: relative; }
.ornament:after {
  content: '✦';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  background: var(--paper); padding: 0 12px;
  font-size: 12px; color: #a98068;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400; letter-spacing: -1.8px;
  font-size: clamp(44px, 6.2vw, 70px); line-height: 1.07; margin: 0 0 24px;
}
h1 em { font-weight: 400; color: #ad8066; font-style: italic; }
.intro { font-size: 17px; color: #766a60; max-width: 530px; margin: 0 auto 38px; }
.search-card {
  background: var(--white);
  border: 1px solid #eee6dd;
  border-radius: 20px;
  box-shadow: 0 19px 52px rgba(89, 70, 48, .065);
  padding: 32px 37px 35px;
  text-align: left;
}
.card-label {
  display: block; font-size: 12px; letter-spacing: 1.4px;
  text-transform: uppercase; color: #9d7d6a; font-weight: 700; margin: 0 0 12px;
}
.contest {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 24px; border-bottom: 1px solid #ede5df;
  margin-bottom: 24px; font-size: 15px; color: #60544c;
}
.contest-mark {
  display: grid; place-items: center; border-radius: 12px;
  width: 42px; height: 42px; flex: 0 0 42px;
  background: #f5ece5; color: #a57b66;
}
.contest small { display: block; font-size: 12px; color: #9d9188; margin-bottom: 1px; }
.contest > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contest select {
  display: block; width: 100%; min-width: 0; text-overflow: ellipsis;
  font: inherit; font-size: 15px; color: #60544c;
  border: 1px solid #ddd2ca; background: #fff; border-radius: 9px;
  padding: 6px 10px; max-width: 100%;
}
.field-label { display: block; margin-bottom: 11px; font-weight: 600; font-size: 14px; }
.search-row { display: flex; gap: 10px; }
.search-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px;
  border: 1px solid #ddd2ca; background: #fff; border-radius: 11px;
  padding: 16px 18px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-row input:focus { border-color: #b68d77; box-shadow: 0 0 0 3px #e9d4c93d; }
.search-row button {
  border: 0; border-radius: 11px; background: #98705c; color: white;
  font: 600 15px 'Segoe UI', Arial, sans-serif;
  padding: 0 28px; cursor: pointer; transition: background .2s;
}
.search-row button:hover { background: #78523f; }
.helper { margin-top: 13px; font-size: 12px; color: #9b9087; }
.message {
  margin-top: 18px; padding: 12px 15px; background: #f6eee8;
  border-radius: 10px; color: #745648; font-size: 13px; display: none;
}
.message.visible { display: block; }
.below { margin-top: 34px; color: #98897e; font-size: 13px; }
.below span { color: #ad8169; }
.foot {
  border-top: 1px solid var(--line); padding: 23px 0;
  display: flex; justify-content: space-between; gap: 15px;
  color: #9c9189; font-size: 13px;
}
.foot a { text-decoration: underline; text-underline-offset: 4px; }
.leaf-path { fill: none; stroke: #879a82; stroke-width: 3; stroke-linecap: round; }
.leaf-fill { fill: #afbeaa; }
.results { margin-top: 30px; text-align: left; }
.results-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px; color: #82776e; font-size: 14px;
}
.btn {
  display: inline-block; border-radius: 11px; background: #98705c; color: #fff;
  font: 600 14px 'Segoe UI', Arial, sans-serif; padding: 11px 20px;
  white-space: nowrap; transition: background .2s;
}
.btn:hover { background: #78523f; }
.btn-ghost { background: #f5ece5; color: #78523f; }
.btn-ghost:hover { background: #ecdcd0; }
.item {
  display: flex; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid #eee6dd;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(89, 70, 48, .05);
  padding: 16px; margin-bottom: 12px;
}
.item img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; flex: none; background: #f5ece5; }
.info { flex: 1; min-width: 0; line-height: 1.45; }
.name { font-weight: 600; font-size: 16px; }
.award { font-family: Georgia, serif; font-style: italic; color: #ad8066; font-size: 16px; }
.meta { color: #8f8379; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .shell { padding: 0 20px; }
  .top { height: 80px; }
  .logo { font-size: 27px; }
  .subtitle { font-size: 10px; letter-spacing: 1.5px; }
  .nav { font-size: 12px; }
  .content { padding: 78px 16px 80px; }
  .eyebrow { font-size: 10px; letter-spacing: 2px; }
  h1 { font-size: 49px; }
  .intro { font-size: 15px; padding: 0 12px; margin-bottom: 30px; }
  .search-card { padding: 24px 20px; border-radius: 16px; }
  .search-row { flex-direction: column; }
  .search-row button { min-height: 52px; }
  .plant { right: -128px; top: 170px; opacity: .28; }
  .plant-left { opacity: .15; }
  .blob1 { right: -260px; }
  .below { max-width: 260px; margin: 30px auto 0; }
  .foot { font-size: 11px; }
  .item { flex-wrap: wrap; gap: 14px; }
  .item .btn { flex: 1 1 100%; text-align: center; }
  .results-bar .btn { flex: 1 1 100%; text-align: center; }
}
