@layer base, layout, components, responsive;
@layer base {
  :root {
    --wine:#6e0a1a; --wine-dark:#510615; --yellow:#f3d81c; --paper:#faf9f6;
    --ink:#231c1e; --muted:#655d5f; --line:#dedad8; --radius:12px;
    --font:Arial,Helvetica,sans-serif; --display:"Arial Black",Arial,Helvetica,sans-serif;
  }
  *,*::before,*::after { box-sizing:border-box; }
  html { scroll-behavior:smooth; scroll-padding-top:96px; }
  body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--font); font-size:1rem; line-height:1.5; }
  a { color:inherit; text-decoration:none; }
  button { font:inherit; }
  img { max-width:100%; display:block; }
  h1,h2,h3,p { margin:0; }
  h1,h2,h3 { line-height:1.15; }
  h1,h2 { font-family:var(--display); font-weight:900; letter-spacing:-.055em; }
  h2 { font-size:clamp(1.75rem,3vw,2.5rem); }
  h2 em { font-family:Georgia,serif; font-weight:500; letter-spacing:-.035em; }
  a,button { -webkit-tap-highlight-color:transparent; }
  a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid #1d70b8; outline-offset:4px; border-radius:4px; }
  .hero a:focus-visible,.photos-section a:focus-visible,.footer a:focus-visible { outline-color:var(--yellow); }
  .skip-link { position:fixed; top:-100px; left:16px; z-index:100; background:var(--yellow); padding:12px 20px; border-radius:8px; font-weight:700; }
  .skip-link:focus { top:12px; }
  ::selection { background:var(--yellow); color:var(--wine); }
  svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
  section[id] { scroll-margin-top:96px; }
}
@layer layout {
  .container { width:min(1200px,calc(100% - 80px)); margin-inline:auto; }
  .section { padding-block:38px; }
  .header { position:sticky; top:0; z-index:20; background:var(--paper); border-bottom:1px solid var(--line); }
  .header-inner { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
  .header nav { display:flex; align-items:center; gap:24px; }
  .header nav a { font-size:.875rem; font-weight:600; min-height:44px; display:flex; align-items:center; }
  .header nav a:hover { color:var(--wine); }
  .hero { background:var(--wine); color:var(--paper); padding-block:35px; }
  .hero-grid { display:grid; grid-template-columns:1fr 230px; gap:48px; align-items:center; }
  .hero-copy h1 { font-size:clamp(2.75rem,5.5vw,4.6rem); line-height:1.04; }
  .hero-copy h1 span { color:var(--yellow); }
  .hero-description { font-size:1.0625rem; margin-top:18px; max-width:440px; color:#efe0e3; }
  .hero-logo { width:230px; height:230px; border-radius:50%; }
  .section-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:20px; }
  .section-heading>p { color:var(--muted); max-width:380px; }
  .community-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .travel-section { background:#eeece8; }
  .travel-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  .photos-section { background:var(--wine); color:var(--paper); padding-block:38px; }
  .photos-grid { display:grid; grid-template-columns:.85fr 1.65fr; gap:36px; align-items:center; }
  .album-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .social-section { display:flex; justify-content:space-between; align-items:center; gap:36px; }
  .social-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; flex:1; max-width:720px; }
  .contact-section { background:var(--yellow); padding-block:36px; }
  .contact-inner { display:flex; justify-content:space-between; align-items:center; gap:32px; }
  .contact-inner p { margin-top:8px; }
  .footer { background:var(--wine-dark); color:var(--paper); padding-block:26px; }
  .footer-inner { display:flex; align-items:center; justify-content:space-between; gap:28px; }
  .footer-inner>div { max-width:520px; }
  .footer-inner p,.footer-privacy { font-size:.875rem; }
  .footer-disclaimer { color:#e1cdd2; margin-top:6px; }
  .footer-privacy { min-height:44px; display:inline-flex; align-items:center; text-decoration:underline; text-underline-offset:4px; }
}
@layer components {
  .brand { display:flex; align-items:center; gap:10px; flex-shrink:0; }
  .brand img { border-radius:50%; width:40px; height:40px; object-fit:cover; }
  .brand>span { font-size:1.2rem; line-height:.95; letter-spacing:-.045em; font-family:var(--display); font-weight:900; }
  .brand sup { font-family:var(--font); font-size:.75rem; margin-left:3px; vertical-align:top; line-height:1; }
  .menu-toggle { display:none; }
  .eyebrow { font-size:.875rem; letter-spacing:.08em; font-weight:700; line-height:1.5; }
  .section-label { color:var(--wine); margin-bottom:12px; }
  .button { min-height:48px; border-radius:25px; padding:12px 22px; display:inline-flex; align-items:center; justify-content:center; font-size:1rem; line-height:1.4; font-weight:700; border:0; transition:background .2s; }
  .button-dark { background:var(--wine); color:#fff; }
  .button-dark:hover { background:var(--wine-dark); }
  .button-yellow { background:var(--yellow); color:var(--wine-dark); }
  .button-yellow:hover { background:#ffe943; }
  .quick-strip { background:var(--yellow); color:var(--wine-dark); }
  .quick-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .quick-nav a { min-height:54px; display:flex; align-items:center; justify-content:center; padding:10px 16px; border-left:1px solid #6e0a1a25; font-size:1rem; font-weight:700; }
  .quick-nav a:first-child { border-left:0; }
  .quick-nav a:hover { text-decoration:underline; text-underline-offset:4px; }
  .guide-teaser { padding-top:24px; }
  .guide-card { display:flex; align-items:center; gap:22px; padding:22px 26px; border:1px solid var(--wine); border-radius:var(--radius); background:#fff; transition:background .2s; }
  .guide-card:hover { background:#f3d81c18; }
  .guide-mark { font-size:2.6rem; line-height:1; color:var(--wine); }
  .guide-card h2 { font-family:var(--font); font-size:1.375rem; font-weight:700; letter-spacing:-.025em; }
  .guide-card p { color:var(--muted); margin-top:4px; }
  .guide-link { color:var(--wine); font-weight:700; margin-left:auto; white-space:nowrap; }
  .group-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; display:flex; align-items:center; gap:16px; min-height:140px; transition:border-color .2s,background .2s; }
  .group-card:hover { border-color:var(--wine); background:#f3d81c10; }
  .card-icon { width:40px; height:40px; border-radius:10px; flex:0 0 40px; display:grid; place-items:center; font-size:1.4rem; background:var(--paper); }
  .group-card h3 { font-size:1.125rem; letter-spacing:-.025em; }
  .group-card p { color:var(--muted); margin-top:6px; }
  .group-featured,.group-featured:hover { background:var(--yellow); border-color:var(--yellow); }
  .group-featured .card-icon { background:#ffffff60; }
  .group-featured p { color:#544317; }
  .group-channel,.group-channel:hover { background:var(--wine); border-color:var(--wine); color:#fff; }
  .group-channel .card-icon { background:#ffffff15; }
  .group-channel p { color:#ecd7de; }
  .trip-card { padding:22px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); display:grid; grid-template-columns:48px 1fr; align-items:center; column-gap:16px; min-height:158px; transition:border-color .2s; }
  .trip-card:hover { border-color:var(--wine); }
  .trip-card img { width:48px; height:48px; border-radius:50%; object-fit:cover; }
  .trip-card h3 { font-family:var(--display); font-size:1.5rem; color:var(--wine); letter-spacing:-.04em; }
  .trip-year { display:block; font-size:.875rem; margin-top:4px; color:var(--muted); }
  .trip-action { grid-column:1 / -1; margin-top:16px; color:var(--wine); font-size:.875rem; font-weight:700; }
  .trip-yellow { background:var(--yellow); border-color:#d1b912; }
  .trip-yellow .trip-year { color:#514214; }
  .section-note { font-size:.875rem; color:var(--muted); margin-top:16px; }
  .event-list { border-top:1px solid var(--line); }
  .event-row { display:flex; align-items:center; gap:22px; padding:18px 0; border-bottom:1px solid var(--line); transition:background .2s; }
  .event-row:hover { background:#eeece860; }
  .event-date { display:flex; flex-direction:column; text-align:center; min-width:85px; color:var(--wine); border-right:1px solid var(--line); padding-right:20px; }
  .event-date strong { font-size:2.2rem; font-family:var(--display); letter-spacing:-.045em; line-height:1; }
  .event-date span { font-size:.875rem; margin-top:6px; }
  .event-info>p { font-size:.875rem; color:var(--muted); }
  .event-info h3 { font-size:1.35rem; letter-spacing:-.025em; margin:3px 0 5px; }
  .event-status { font-size:.875rem; color:var(--muted); }
  .event-link { margin-left:auto; font-size:.875rem; font-weight:700; color:var(--wine); }
  .events-update { display:inline-flex; align-items:center; min-height:44px; margin-top:8px; color:var(--wine); font-weight:700; text-decoration:underline; text-underline-offset:4px; }
  .photo-report { display:inline-flex; align-items:center; min-height:44px; margin-top:8px; color:#ecd7de; font-size:.875rem; text-decoration:underline; text-underline-offset:4px; }
  .album { border:1px solid #b46a7b; border-radius:var(--radius); padding:20px; display:flex; flex-direction:column; justify-content:center; min-height:142px; transition:background .2s; }
  .album:hover { background:#ffffff10; }
  .album-date { font-size:.875rem; color:var(--yellow); margin-bottom:8px; font-weight:700; }
  .album h3 { font-size:1.15rem; letter-spacing:-.025em; }
  .album-action { font-size:.875rem; color:#ead4da; margin-top:8px; }
  .social-links a { display:flex; flex-direction:column; justify-content:center; padding:15px 18px; min-height:72px; border:1px solid var(--line); border-radius:10px; font-weight:700; background:#fff; transition:background .2s; }
  .social-links a:hover { background:var(--yellow); }
  .social-links a>span { font-size:.875rem; font-weight:400; color:var(--muted); }
  .contact-button { overflow-wrap:anywhere; text-align:center; }
  .info-page { max-width:800px; padding-block:48px 60px; }
  .info-page h1 { font-size:clamp(2.3rem,6vw,4rem); margin-bottom:24px; }
  .info-page h2 { font-family:var(--font); font-size:1.4rem; letter-spacing:-.025em; margin:28px 0 12px; }
  .info-page p { margin-top:12px; overflow-wrap:anywhere; }
  .info-page a:not(.button) { color:var(--wine); text-decoration:underline; text-underline-offset:3px; }
  .info-page .button { margin-top:28px; }
}
@layer responsive {
  @media (max-width:1100px) {
    .container { width:calc(100% - 48px); }
    .header nav { gap:16px; }
    .group-card { padding:18px; gap:12px; }
    .group-card p { line-height:1.4; }
    .hero-grid { grid-template-columns:1fr 200px; }
    .hero-logo { width:200px; height:200px; }
    .social-links { grid-template-columns:1fr 1fr; max-width:440px; }
  }
  @media (max-width:900px) {
    .header-inner { flex-wrap:wrap; gap:0; padding-block:10px; min-height:68px; }
    .menu-toggle { display:flex; align-items:center; gap:9px; min-width:80px; min-height:44px; padding:5px 9px; background:transparent; border:1px solid var(--line); border-radius:8px; font-size:.875rem; color:var(--ink); cursor:pointer; }
    .menu-toggle svg { width:22px; height:22px; }
    .header nav { display:none; width:100%; padding-top:10px; margin-top:10px; border-top:1px solid var(--line); flex-direction:column; align-items:stretch; gap:0; }
    .header nav.is-open { display:flex; }
    .header nav a { padding:8px 4px; min-height:44px; font-size:1rem; }
    .community-grid { grid-template-columns:1fr 1fr; }
    .group-card { min-height:112px; }
    .group-channel { grid-column:1 / -1; }
    .photos-grid { grid-template-columns:1fr; gap:18px; }
    .photos-grid>div:first-child { display:flex; align-items:center; justify-content:space-between; gap:18px; }
    .photo-report { margin-top:0; }
    .contact-inner { align-items:flex-start; flex-direction:column; gap:18px; }
    .footer-inner { flex-wrap:wrap; gap:18px; }
    .footer-inner>div { order:3; max-width:none; width:100%; }
  }
  @media (max-width:600px) {
    html { scroll-padding-top:86px; }
    section[id] { scroll-margin-top:86px; }
    .container { width:calc(100% - 40px); }
    .section { padding-block:34px; }
    .hero { padding-block:28px; }
    .hero-grid { grid-template-columns:1fr 105px; gap:16px; }
    .hero-copy h1 { font-size:clamp(2.2rem,9.4vw,3.2rem); }
    .hero-description { margin-top:14px; font-size:1rem; }
    .hero-logo { width:105px; height:105px; }
    .quick-nav { grid-template-columns:1fr 1fr; width:100%; }
    .quick-nav a { min-height:48px; padding:10px 16px; font-size:.875rem; }
    .quick-nav a:nth-child(3) { border-left:0; border-top:1px solid #6e0a1a25; }
    .quick-nav a:nth-child(4) { border-top:1px solid #6e0a1a25; }
    .guide-teaser { padding-top:22px; }
    .guide-card { display:grid; grid-template-columns:28px 1fr; gap:12px; padding:18px; }
    .guide-mark { font-size:2rem; }
    .guide-card h2 { font-size:1.25rem; }
    .guide-card p { font-size:1rem; }
    .guide-link { grid-column:2; margin-left:0; font-size:.875rem; }
    .section-heading { align-items:flex-start; flex-direction:column; gap:10px; margin-bottom:18px; }
    h2 { font-size:1.85rem; }
    .community-grid { grid-template-columns:1fr; gap:10px; }
    .group-card { padding:18px; min-height:94px; gap:14px; }
    .group-channel { grid-column:auto; }
    .travel-grid { grid-template-columns:1fr; gap:12px; }
    .trip-card { min-height:128px; padding:18px 22px; }
    .trip-card h3 { font-size:1.6rem; }
    .trip-action { margin-top:10px; }
    .event-row { column-gap:18px; padding-block:18px; flex-wrap:wrap; }
    .event-date { min-width:72px; padding-right:14px; }
    .event-date strong { font-size:2rem; }
    .event-date span { font-size:.875rem; }
    .event-info h3 { font-size:1.25rem; }
    .event-link { margin-left:90px; width:calc(100% - 90px); margin-top:8px; }
    .photos-section { padding-block:34px; }
    .photos-grid>div:first-child { display:block; }
    .photo-report { margin-top:4px; }
    .album-list { grid-template-columns:1fr; gap:12px; }
    .album { min-height:126px; padding:18px 22px; }
    .social-section { align-items:stretch; flex-direction:column; gap:18px; }
    .social-links { max-width:none; }
    .social-links a { min-height:72px; }
    .contact-section { padding-block:32px; }
    .contact-button { width:100%; font-size:.9375rem; padding-inline:16px; }
    .footer { padding-block:24px; }
    .footer-inner { gap:16px; }
    .footer .brand>span { font-size:1rem; }
    .footer .brand img { width:34px; height:34px; }
    .footer-privacy { font-size:.875rem; text-align:right; max-width:155px; }
    .info-page { padding-block:34px 48px; }
  }
  @media (max-width:360px) {
    .hero-grid { grid-template-columns:1fr 76px; gap:10px; }
    .hero-logo { width:76px; height:76px; }
    .hero-copy h1 { font-size:2.15rem; }
    .guide-card { padding:16px; gap:10px; }
    .guide-card h2 { font-size:1.15rem; }
  }
  @media (prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    *,*::before,*::after { transition:none!important; animation:none!important; }
  }
}
