/* chadwickceremonies.com – the look of the old WordPress site: black and charcoal, white Cormorant Garamond, one
   amber accent, thin light borders, cards cut with large rounded corners on two sides. */
@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url("fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }

:root {
  --black: #000000;
  --charcoal: #212224;     /* alternate sections, footer */
  --card: #333133;         /* service and price cards */
  --amber: #F39F09;        /* the one accent: buttons, frames, links */
  --text: #ffffff;
  --soft: #e4e1dc;         /* body copy on dark */
  --quiet: #b9b4ad;
  --line: rgba(255, 255, 255, .78);
  --field: #1a1a1b;
  --error: #ffb4a8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--text); font: 400 20px/1.6 "Cormorant Garamond", Georgia, "Times New Roman", serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(36px, 5.2vw, 55px); }
h2 { font-size: clamp(30px, 3.6vw, 40px); }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }
.wrap { width: min(1440px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(1000px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: #000; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }

/* ---- the amber button with its fine white inner frame */
.btn { display: inline-block; background: var(--amber); color: #fff; text-decoration: none; border: 0; cursor: pointer;
       font: 700 18px/1.2 "Cormorant Garamond", Georgia, serif; padding: 15px 26px; outline: 1px solid #fff; outline-offset: -7px; }
.btn:hover { background: #d98b00; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: -7px; box-shadow: 0 0 0 3px var(--amber); }
.btn.small { font-size: 17px; padding: 12px 22px; }

/* ---- header: a framed bar that floats over the first picture */
.site-head { position: relative; z-index: 5; padding: 8px 0 0; }
.site-head .bar { width: min(1580px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap;
                  border: 1px solid var(--amber); background: rgba(20, 20, 20, .88); padding: 14px clamp(16px, 4.5vw, 80px); }
.brand { font-size: 23px; font-weight: 500; text-decoration: none; letter-spacing: .01em; margin-right: auto; }
.site-nav { display: flex; gap: 6px 34px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: 1px; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.site-head .btn { margin-left: auto; }
@media (min-width: 900px) { .site-nav { position: absolute; left: 50%; transform: translateX(-50%); } .site-head .bar { position: relative; } }
@media (max-width: 899px) { .site-nav { order: 3; width: 100%; justify-content: center; } .site-head .btn { margin-left: 0; } }
.home .site-head { position: absolute; left: 0; right: 0; top: 0; }

/* ---- home: the picture with its framed message */
.hero { position: relative; min-height: min(800px, 100vh); display: grid; place-items: center; padding: 150px 16px 70px;
        background: #181818 center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.5)); }
.hero .frame { position: relative; max-width: 835px; width: 100%; background: rgba(24, 24, 24, .86); border: 1px solid var(--line); border-radius: 20px; padding: 15px; }
.hero .frame > div { border: 1px solid var(--amber); border-radius: 10px; padding: clamp(28px, 5vw, 44px) clamp(18px, 5vw, 60px); text-align: center; }
.hero h1 { margin-bottom: .55em; }
.hero p { font-size: 21px; color: var(--soft); margin: 0 auto 1.4em; max-width: 620px; }

/* ---- page title band (inner pages) */
.page-title { position: relative; min-height: 226px; display: grid; place-items: center; padding: 40px 16px; background: #181818 center / cover no-repeat; text-align: center; }
.page-title::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.page-title h1 { position: relative; margin: 0; }

/* ---- sections */
.band { padding: clamp(56px, 7vw, 90px) 0; }
.band.charcoal { background: var(--charcoal); }
.intro { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.intro p { color: var(--soft); font-size: 19px; }
.mark { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: 21px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 10px; }
.mark svg { width: 12px; height: 20px; }

/* cards cut with big curves top-right and bottom-left */
.cards { display: grid; gap: 38px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 0 50px 0 50px; overflow: hidden; text-align: center; }
.card img { width: 100%; height: 256px; object-fit: cover; border-bottom: 1px solid var(--line); border-radius: 0 50px 0 50px; }
.card .body { padding: 26px 30px 32px; }
.card p { color: var(--soft); margin: 0; }

.split { display: grid; gap: 40px 60px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.photo-frame img { width: 100%; border: 1px solid var(--line); border-radius: 10px; object-fit: cover; }
.split .caption { text-align: center; color: var(--soft); margin-top: 16px; }
.split .words p { color: var(--soft); line-height: 2.05; }

.masonic p { color: var(--soft); }
.masonic h2 { text-align: center; }

/* FAQ: two columns of framed questions; the open one turns amber */
.faq { display: grid; gap: 22px 26px; align-items: start; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq-col { display: grid; gap: 22px; }
details.q { border: 1px solid var(--line); padding: 10px 18px; }
details.q summary { cursor: pointer; font-size: 21px; list-style: none; display: flex; gap: 10px; align-items: baseline; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::before { content: "▶"; font-size: 15px; }
details.q[open] { border-color: var(--amber); color: var(--amber); }
details.q[open] summary::before { content: "▼"; }
details.q div { padding: 10px 0 6px; font-size: 18px; }

/* price cards */
.prices .card { padding: 34px 30px 40px; display: flex; flex-direction: column; align-items: center; }
.prices h2 { font-size: 34px; margin-bottom: .4em; }
.prices .price { font-size: 30px; font-weight: 600; margin: 0 0 18px; }
.prices ol { text-align: left; margin: 0 0 28px; padding-left: 1.4em; font-size: 22px; line-height: 1.3; }
.prices li { margin-bottom: 12px; }
.prices .btn, .prices form { margin-top: auto; }

/* about */
.about-grid { display: grid; gap: 36px 70px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.about-grid p { color: var(--soft); }

/* contact + the request form */
.contact-grid { display: grid; gap: 40px 60px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(320px, 4fr) 8fr; } }
.quote { font-size: 24px; font-style: italic; }
.quote cite { display: block; font-style: normal; font-size: 19px; color: var(--soft); margin-top: 8px; }
.details { font-size: 21px; line-height: 1.7; }
.form-card { background: var(--charcoal); border: 1px solid var(--line); border-radius: 0 40px 0 40px; padding: clamp(22px, 4vw, 40px); }
.form-card h2 { font-size: 34px; }
.form-card h3 { font-size: 25px; margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.form-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-card legend { width: 100%; padding: 0; }
.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.choice { position: relative; display: block; border: 1px solid rgba(255,255,255,.5); padding: 14px 16px 14px 44px; cursor: pointer; line-height: 1.25; }
.choice input { position: absolute; left: 16px; top: 18px; accent-color: var(--amber); width: 18px; height: 18px; }
.choice strong { display: block; font-size: 21px; }
.choice span { color: var(--soft); font-size: 18px; }
.choice:has(input:checked) { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.grid2 { display: grid; gap: 0 22px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.when-where { display: grid; gap: 0 40px; }
@media (min-width: 900px) { .when-where.both { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.field .hint { font-size: 16px; color: var(--quiet); margin: 4px 0 0; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=date], .field input:not([type]),
.field select, .field textarea { width: 100%; background: var(--field); color: var(--text); border: 1px solid rgba(255,255,255,.55);
  font: 400 19px/1.4 "Cormorant Garamond", Georgia, serif; padding: 10px 12px; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field input[type=date] { color-scheme: dark; }
.time-row { display: flex; gap: 10px; align-items: center; }
.time-row input.ampm-text { width: 7em; }
.ampm-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.55); }
.ampm-toggle label { margin: 0; font-weight: 600; }
.ampm-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ampm-toggle span { display: block; padding: 9px 13px; cursor: pointer; font-size: 17px; }
.ampm-toggle input:checked + span { background: var(--amber); color: #fff; }
.ampm-toggle input:focus-visible + span { outline: 2px solid #fff; outline-offset: -3px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--error); font-size: 17px; }
.notice { border: 1px solid var(--error); color: var(--error); padding: 12px 16px; margin: 0 0 20px; }
.thanks { border: 1px solid var(--amber); padding: 24px 26px; }
.thanks h2 { color: var(--amber); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* proposal (on the CRM's address) */
.for { color: var(--soft); margin: 0 0 6px; }
.chosen-badge { display: inline-block; background: var(--amber); color: #fff; padding: 3px 14px; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.prices .card.chosen { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
.travel { color: var(--quiet); font-size: 17px; margin: -10px 0 18px; }
.msgs { list-style: none; padding: 0; margin: 0 0 24px; }
.msgs li { border: 1px solid var(--amber); padding: 12px 16px; margin-bottom: 8px; }
.msgs li.error { border-color: var(--error); color: var(--error); }
.preview-note { border: 1px dashed var(--amber); color: var(--amber); padding: 10px 14px; margin: 0 0 18px; font-size: 18px; }

/* ---- footer */
.site-foot { background: var(--charcoal); border-top: 2px solid #111; padding: 70px 0 40px; }
.foot-grid { display: grid; gap: 36px 60px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 6fr 3fr 4fr; } }
.site-foot img.logo { width: 128px; height: auto; margin-bottom: 18px; }
.site-foot h2 { font-size: 34px; font-weight: 600; }
.site-foot .name { font-size: 27px; font-weight: 600; margin-bottom: 22px; }
.site-foot p { color: var(--soft); line-height: 1.75; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 18px; }
.site-foot li a { text-decoration: none; }
.site-foot li a:hover { color: var(--amber); }
.site-foot .small { margin-top: 40px; font-size: 16px; color: var(--quiet); text-align: center; }
.site-foot .small a { color: var(--quiet); }

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

/* phones: the header sits above the picture instead of over it, brand and button on one line */
@media (max-width: 899px) {
  .home .site-head { position: relative; }
  .site-head .bar { gap: 10px 12px; padding: 12px 14px; }
  .brand { font-size: 20px; }
  .site-head .btn.small { font-size: 15px; padding: 10px 14px; outline-offset: -5px; }
  .hero { min-height: 0; padding: 40px 16px 56px; }
}
