/* Consistent gutters, reading sizes and form rhythm across public and admin routes. */
:root{--space-page:clamp(20px,4vw,64px);--space-section:clamp(56px,7vw,104px)}
.container{width:min(var(--max),calc(100% - 2*var(--space-page)))}
.section{padding-block:var(--space-section)}
.page-head{padding-block:clamp(32px,5vw,64px) clamp(28px,4vw,48px)}
.page-head>p:not(.eyebrow){max-width:62ch;font-size:clamp(.95rem,1.2vw,1.08rem)}
.page-layout,.login-layout,.contact-layout{gap:clamp(28px,4.5vw,64px)}
.panel{padding:clamp(22px,3vw,36px)}
.panel>h2{margin-bottom:20px}.panel>p{line-height:1.75}.panel>form{margin-top:24px}
fieldset{margin:0 0 28px;padding:0;border:0;min-width:0}legend{margin-bottom:14px;line-height:1.6}
.field>label,fieldset>legend{font-size:.86rem}.field{gap:8px;margin-bottom:24px}
.field input,.field select,.field textarea{font-size:1rem;line-height:1.5}.field textarea{min-height:132px;resize:vertical}
.check{font-size:.88rem;line-height:1.6;align-items:flex-start}.check input{margin-top:4px;flex-shrink:0}
.option{min-height:60px;line-height:1.6}.option small{line-height:1.6}.option input{margin-top:4px}
.form-actions{align-items:center;margin-top:8px;padding-top:24px;border-top:1px solid var(--line)}
.button:focus-visible,a:focus-visible,summary:focus-visible,button:focus-visible{outline:2px solid #f4f0e7;outline-offset:4px}
.button:disabled{opacity:.6;cursor:wait}.button:active:not(:disabled){transform:translateY(1px)}
.success{padding:clamp(24px,4vw,44px);min-width:0}.success>h2{font-size:clamp(22px,4vw,32px);overflow-wrap:anywhere}.success>p{max-width:62ch;line-height:1.8}.success .actions{margin-block:24px}
.summary>div{min-width:0}.summary dd{overflow-wrap:anywhere}.steps{margin-bottom:32px}.steps li{min-width:0}
.admin-content{display:flex;flex-direction:column;gap:24px}.admin-content>.panel{margin:0}.admin-grid{gap:24px;align-items:start}.admin-grid>.panel{min-width:0}
.admin-main .field label,.admin-main legend{font-size:.84rem}.admin-main .field input,.admin-main .field select,.admin-main .field textarea{font-size:1rem}
.admin-main .button{font-size:.84rem;min-height:46px}.admin-main p{font-size:.88rem;line-height:1.7}.admin-main .admin-quote summary{font-size:.86rem}
.admin-main details>form{margin-block:24px}.admin-main .summary{margin-block:24px}.admin-main .summary dt{font-size:.78rem}.admin-main .summary dd{font-size:.9rem}
.admin-stats span{font-size:.78rem}.admin-search input{font-size:1rem}.admin-page-heading p{font-size:.9rem}
.admin-login-form>p:first-child{margin-top:0}.admin-login-form .button{width:100%}.admin-login-form details{margin-top:28px}
.integration-notice,.live-update-note{border-left:3px solid var(--accent);padding:18px 22px;background:#23251e;margin:0 0 20px;line-height:1.7}.integration-notice p{margin:8px 0 0}
.admin-quote .status-pill{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
@media(max-width:800px){.admin-main{padding:28px 20px}.admin-main .panel{padding:24px 20px}.page-layout,.login-layout{padding-bottom:56px}.resource-highlight{padding:28px 22px}}
@media(max-width:480px){:root{--space-page:20px}.hero,.hero-copy{min-height:clamp(540px,78svh,660px)}.hero-copy{padding:28px 22px}.hero-copy>.eyebrow{margin-bottom:24px}.hero-copy>p:not(.eyebrow){line-height:1.7}.hero .actions{margin-top:auto}.hero h1{font-size:clamp(44px,12vw,60px)}.page-head h1{font-size:clamp(30px,8.5vw,40px)}.page-head .back-link{margin-bottom:20px}.steps li{font-size:.72rem}.panel h2{font-size:1.45rem}.form-actions>.button{flex-basis:100%;min-height:50px}.form-actions>.button.text{order:2}.contact-image{min-height:300px}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-quote summary{display:flex;flex-wrap:wrap;gap:12px}.admin-quote .quote-person{flex-basis:100%}.admin-login-form{padding:30px 20px}.admin-login-story{min-height:240px}.admin-main .panel .panel{padding:18px 14px}.client-names{gap:10px}}
@media(max-width:360px){:root{--space-page:16px}.admin-main{padding-inline:16px}.panel,.admin-main .panel{padding:22px 16px}}
@media(max-width:800px){input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px}.recipe-search input{min-height:48px}.admin-main .admin-login-form{padding:28px 20px}}

.club-file-preview{display:block;max-width:100%;max-height:520px;object-fit:contain;margin:18px 0}.admin-content [data-club-kind][hidden]{display:none!important}.admin-content select{max-width:100%;min-width:0}.admin-content details>summary{line-height:1.5}

/* Shared typography and action styles across public pages and Administration. */
body, button, input, textarea, select,
#experiencias h2, .chef-copy h2, .club-banner h2,
.hero h1, .closing h2, .admin-login-story h1 {
  font-family: Montserrat, Arial, sans-serif;
}
.button {
  min-height: 46px;
  border-radius: 4px;
  font-weight: 700;
}
.button:not(.secondary):not(.text),
.header-actions .button:not(.secondary):not(.text),
.hero .button:not(.secondary):not(.text) {
  background: #b9151c;
  border-color: #b9151c;
  color: #fff;
}
.button:not(.secondary):not(.text):hover,
.header-actions .button:not(.secondary):not(.text):hover,
.hero .button:not(.secondary):not(.text):hover {
  background: #9c1117;
  border-color: #9c1117;
  color: #fff;
}
.button.secondary {
  background: transparent;
  border-color: #77786c;
  color: var(--text);
}
.button.secondary:hover { background: var(--soft); border-color: var(--text); }
.button.text { background: transparent; color: var(--text); text-underline-offset: 4px; }
.button.text:hover { text-decoration: underline; }
.contact-links .contact-action {
  width: 100%;
  justify-content: space-between;
  text-align: left;
}
.brand img[src$="logo-mark.png"] { object-fit: contain; }
.client-names, .brand-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  align-items: start;
  gap: 14px;
}
.brand-tile { margin: 0; min-width: 0; }
.brand-surface {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid #77786c;
  border-radius: 4px;
  background: #faf8f3;
}
.brand-surface[data-backdrop="dark"] { background: #22231f; }
.brand-surface img,
.brand-gallery .brand-surface img {
  width: 100%;
  max-width: 145px;
  height: 50px;
  object-fit: contain;
  filter: none;
}
.brand-tile figcaption {
  margin-top: 6px;
  font-size: .72rem;
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
}
.media-thumb { max-width: 200px; margin: 12px 0; }
.contact-editor-row { margin-bottom: 16px; }
@media (max-width: 480px) {
  .client-names, .brand-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .brand-surface { min-height: 52px; padding: 6px; }
  .brand-surface img, .brand-gallery .brand-surface img { height: 36px; }
}
