/* O'Donnells Irish Pub Freiburg
   Palette taken from the logo (emerald green, antique gold, cream) and the
   early interior idea (dark walnut coffered ceiling with gold knotwork). */

:root {
  --walnut:      #2b1c14;
  --walnut-deep: #1b120d;
  --walnut-light:#3a281c;
  --beam:        #5a3a26;
  --gold:        #c9a24a;
  --gold-light:  #e6cf8c;
  --gold-dim:    #8a6d2f;
  --green:       #1e7a46;
  --green-deep:  #145a33;
  --cream:       #f3e9d6;
  --cream-dim:   #cdbfa5;
  --ink:         #1b120d;
  --max:         1140px;
  --serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --sans:    "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover, a:focus { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--gold-light); letter-spacing: .02em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--cream); }
.small { font-size: .9rem; color: var(--cream-dim); }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- ribbon + header ---------- */
.ribbon { background: var(--green); color: #fff; text-align: center; font-size: .9rem; letter-spacing: .04em; padding: .45rem 1rem; }
.ribbon span { text-transform: uppercase; }
.site-header { background: linear-gradient(180deg, var(--walnut-deep), var(--walnut)); border-bottom: 1px solid var(--beam); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; flex-wrap: wrap; }
.brand img { width: 200px; height: auto; }
.header-row { justify-content: center; }
.mainnav { flex-basis: 100%; border-top: 1px solid rgba(201,162,74,.18); padding-top: .4rem; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .25rem; align-items: center; justify-content: center; }
.mainnav a { display: block; padding: .45rem .55rem; border-radius: 999px; font-family: var(--display); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); }
.mainnav a:hover, .mainnav a:focus { background: var(--walnut-light); color: var(--gold-light); text-decoration: none; }
.mainnav a.active { background: var(--gold); color: var(--ink); }
.mainnav li.lang a { border: 1px solid var(--gold); color: var(--gold-light); margin-left: .4rem; padding: .35rem .7rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); padding: .4rem .8rem; font-family: var(--display); letter-spacing: .06em; cursor: pointer; align-items: center; gap: .35rem; }
.nav-toggle span { width: 18px; height: 2px; background: var(--gold-light); display: block; }
.nav-toggle em { font-style: normal; font-size: .8rem; margin-left: .3rem; }
@media (max-width: 960px) {
  .header-row { justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .mainnav { border-top: 0; padding-top: 0; }
  .mainnav { display: none; width: 100%; }
  .mainnav.open { display: block; }
  .mainnav ul { flex-direction: column; align-items: stretch; padding: .5rem 0 1rem; }
  .mainnav a { font-size: .95rem; padding: .7rem 1rem; }
  .mainnav li.lang a { margin: .5rem 0 0; display: inline-block; }
  .brand img { width: 180px; }
}

/* ---------- knots ---------- */
.knot .k-halo { stroke: var(--walnut); stroke-width: 9; }
.knot .k-gold { stroke: var(--gold); stroke-width: 4; }
.knot .k-halo-thin { stroke: var(--walnut); stroke-width: 7; stroke-dasharray: 14 28; }
.knot .k-gold-thin { stroke: var(--gold); stroke-width: 4; stroke-dasharray: 14 28; }
.knot .k-fill { fill: var(--gold); stroke: none; }
.knot-divider { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1rem auto 1.6rem; max-width: 420px; }
.knot-divider.left { justify-content: flex-start; margin-left: 0; }
.kd-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); max-width: 160px; }
.knot-divider.left .kd-line:first-child { max-width: 40px; }
.h-knot { display: inline-flex; align-items: center; gap: .6rem; }
.h-knot .knot { flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--walnut-deep) url("../images/ceiling-tile.svg") center/240px 240px repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(27,18,13,.35) 0%, rgba(27,18,13,.88) 60%, rgba(27,18,13,.97) 100%); }
.hero .wrap { position: relative; text-align: center; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-logo { width: min(92%, 760px); margin: 0 auto 1.2rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); }
.hero .eyebrow { font-family: var(--display); color: var(--gold); letter-spacing: .25em; text-transform: uppercase; font-size: .85rem; margin-bottom: .6rem; }
.hero h1 { color: var(--cream); font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-style: italic; letter-spacing: 0; }
.hero .opening { display: inline-block; margin: .8rem 0 1.4rem; padding: .7rem 1.6rem; border: 1px solid var(--gold); border-radius: 999px; font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); background: rgba(27,18,13,.6); }
.hero .opening strong { color: #fff; font-weight: 600; }
.hero .addr { color: var(--cream-dim); font-family: var(--serif); font-size: 1.15rem; }
.hero-medallions { display: flex; justify-content: center; gap: 2.5rem; margin-top: 1.5rem; opacity: .85; }
@media (max-width: 700px) { .hero-medallions .knot { width: 70px; height: 70px; } }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: 999px; font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; border: 1px solid var(--gold); color: var(--gold-light); background: transparent; transition: background .2s, color .2s; }
.btn:hover, .btn:focus { background: var(--gold); color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover, .btn.primary:focus { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: .5rem 0 1rem; }
.btn-row.left { justify-content: flex-start; }

/* ---------- sections ---------- */
.section { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.section.alt { background: var(--walnut-deep); border-top: 1px solid var(--beam); border-bottom: 1px solid var(--beam); }
.section.panelled { background: var(--walnut-deep) url("../images/ceiling-tile.svg") center/240px 240px repeat; position: relative; }
.section.panelled::before { content: ""; position: absolute; inset: 0; background: rgba(27,18,13,.9); }
.section.panelled .wrap { position: relative; }
.section-head { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head p { color: var(--cream-dim); }
.page-head { background: var(--walnut-deep); border-bottom: 1px solid var(--beam); padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; text-align: center; }
.page-head .eyebrow { font-family: var(--display); color: var(--gold); letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; margin-bottom: .5rem; }
.page-head h1 { margin-bottom: .2rem; }
.page-head .lead { max-width: 720px; margin: 0 auto; color: var(--cream-dim); }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 3px solid var(--gold); background: rgba(0,0,0,.2); font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--cream); }
.prose blockquote cite { display: block; font-style: normal; font-size: .9rem; color: var(--cream-dim); margin-top: .5rem; font-family: var(--sans); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.card { background: var(--walnut-light); border: 1px solid var(--beam); border-radius: 14px; padding: 1.5rem 1.5rem 1.3rem; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.card .knot { margin-bottom: .8rem; }
.card h3 { color: var(--gold-light); }
.card p { color: var(--cream-dim); flex: 1; }
.card .more { font-family: var(--display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.card.green { background: linear-gradient(160deg, var(--green-deep), #0f4327); border-color: var(--green); }
.card.green p { color: #dfeee5; }
.card.green h3, .card.green .more { color: #fff; }
.card.gold { background: linear-gradient(160deg, var(--gold-dim), #6b531f); border-color: var(--gold); }
.card.gold h3, .card.gold .more { color: #fff; }
.card.gold p { color: #f6ecd2; }

/* ---------- info box / facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.fact { border: 1px solid var(--beam); border-radius: 12px; padding: 1.1rem 1.2rem; background: rgba(0,0,0,.18); }
.fact .label { font-family: var(--display); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.fact .value { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); }
.fact .value.small { font-size: 1rem; }

/* ---------- timeline / news ---------- */
.timeline { list-style: none; padding: 0; margin: 1.5rem 0; border-left: 2px solid var(--beam); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--walnut); border: 2px solid var(--gold); }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline .when { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { margin: .15rem 0 .3rem; }
.timeline p { color: var(--cream-dim); margin: 0; }
.news-item { border: 1px solid var(--beam); border-radius: 14px; padding: 1.4rem 1.6rem; margin-bottom: 1.2rem; background: rgba(0,0,0,.18); }
.news-item .date { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.news-item h2 { font-size: 1.35rem; margin: .3rem 0 .5rem; }
.news-item p:last-child { margin-bottom: 0; }

/* ---------- sister pubs ---------- */
.pub-card { display: grid; grid-template-columns: 1fr; gap: 1rem; border: 1px solid var(--beam); border-radius: 16px; padding: 1.8rem; margin-bottom: 1.5rem; background: var(--walnut-light); }
.pub-card h2 { margin-bottom: .2rem; }
.pub-card .sub { font-family: var(--serif); font-style: italic; color: var(--cream-dim); font-size: 1.15rem; margin-bottom: .8rem; }
.pub-card ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .3rem .9rem; color: var(--cream-dim); }
.pub-card ul li::before { content: "\2766"; color: var(--gold); margin-right: .5rem; }
.pub-card.oscar { background: linear-gradient(160deg, #4a1f1f, #2e1414); border-color: #7a3a3a; }

/* ---------- forms-free contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 1.5rem; }

/* ---------- map ---------- */
.map-frame { border: 1px solid var(--beam); border-radius: 14px; overflow: hidden; background: var(--walnut-deep); aspect-ratio: 16 / 9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-note { font-size: .85rem; color: var(--cream-dim); margin-top: .6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--walnut-deep); border-top: 2px solid var(--gold-dim); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4rem; }
.site-footer p { color: var(--cream-dim); margin-bottom: .9rem; }
.f-logo { width: 220px; margin-bottom: .8rem; }
.f-tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--cream); }
.social a { margin-right: 1rem; }
.footer-bottom { border-top: 1px solid var(--beam); padding: 1.2rem 0 1.6rem; text-align: center; }
.footer-bottom p { margin: 0 0 .4rem; font-size: .9rem; color: var(--cream-dim); }

/* ---------- misc ---------- */
.notice { border: 1px dashed var(--gold-dim); border-radius: 12px; padding: 1rem 1.3rem; color: var(--cream-dim); background: rgba(0,0,0,.15); }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.legal p, .legal li { color: var(--cream-dim); }
.legal h2 { font-size: 1.2rem; margin-top: 1.6rem; }

/* ---------- editable text blocks ---------- */
.lead p { margin: 0 0 .6em; }
.lead p:last-child { margin-bottom: 0; }
.card p { margin: 0 0 .8em; }
.card ul { margin: 0 0 .8em; padding-left: 1.1rem; color: var(--cream-dim); }
.section-head .lead { margin-bottom: 1rem; }
.knot-headings h2 { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.knot-headings h2::before { content: "\2766"; color: var(--gold); font-size: 1.1rem; }
.knot-headings h2:first-child { margin-top: 0; }
.pub-card ul { margin-top: .4rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- press page ---------- */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.press-card { background: var(--walnut-light); border: 1px solid var(--beam); border-radius: 14px; padding: 1.2rem; }
.press-card img { border-radius: 8px; margin-bottom: .8rem; border: 1px solid var(--beam); }
.press-card h3 { margin-bottom: .2rem; }
.dl-list { list-style: none; padding: 0; margin: .6rem 0 0; }
.dl-list li { padding: .35rem 0; border-top: 1px solid rgba(201,162,74,.18); }
.dl-list a { font-family: var(--display); letter-spacing: .08em; color: var(--gold-light); margin-right: .5rem; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: 1rem 0; }
.swatch { background: rgba(0,0,0,.18); border: 1px solid var(--beam); border-radius: 10px; padding: .8rem; display: flex; flex-direction: column; gap: .2rem; }
.swatch span { display: block; height: 44px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); margin-bottom: .3rem; }
.swatch code { color: var(--gold-light); font-size: .9rem; }
.swatch small { color: var(--cream-dim); font-size: .75rem; }
