/* Nautica Lee Consulting. Colors sampled from the logo. */
:root {
  --paper: #F3F4E7;
  --paper-deep: #E9EBDA;
  --ink: #1F241F;
  --ink-soft: #4A5048;
  --muted: #7A8178;
  --rule: #B9BFAE;
  --sage: #6E9277;
  --sage-deep: #466A52;
  --sage-wash: #DCE5D9;
  --serif: "Castoro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --display: "Young Serif", "Castoro", Georgia, serif;
  --mono: "Cutive", "American Typewriter", "Courier New", monospace;
  --script: "Cedarville Cursive", cursive;
  --page: 1040px;
  --col: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1.1em; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h2 { color: var(--sage-deep); }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); }
h3 { font-weight: 400; font-size: 1.15rem; margin: 0 0 0.2em; }
em { font-style: italic; }
.wide { width: min(var(--page), 100% - 4rem); margin-inline: auto; }
.wrap { width: min(var(--col), 100% - 4rem); margin-inline: auto; }
.mono {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* double hairline, like the oval border on the logo */
.rule { height: 5px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-block: clamp(3rem, 7vw, 5.5rem); }
.rule.flower { position: relative; }
.rule.flower::before {
  content: ""; position: absolute; left: 50%; top: -3px; width: 72px; height: 11px; transform: translateX(-50%);
  background: var(--paper);
}
.rule.flower::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 50px; transform: translate(-50%, -50%);
  background: url("brand/bouquet-sage.png") center / 30px auto no-repeat;
}

/* letterhead */
.letterhead { background: var(--sage); padding: 1.1rem 0; }
.letterhead .line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  color: var(--paper);
}
.letterhead a { text-decoration: none; color: var(--paper); }
.letterhead a:hover { color: #fff; }
.letterhead nav a { margin-left: 1.6rem; }
.letterhead nav a:first-child { margin-left: 0; }
.letterhead nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* opening */
.opening { padding: clamp(3rem, 7vw, 5.5rem) 0 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 3rem; align-items: center; }
.opening > div { min-width: 0; max-width: 100%; }
.opening h1 { margin-bottom: 0.9rem; }
.opening .kicker { margin-bottom: 1.6rem; display: block; }
.kicker span { white-space: nowrap; }
.kicker span:not(:last-child)::after { content: "\00a0\00b7"; }
.opening p { max-width: 38ch; font-size: 1.15rem; color: var(--ink-soft); }
.opening .bouquet { justify-self: end; width: min(100%, 260px); height: auto; }
.opening .after { margin-top: 1.4rem; display: flex; gap: 2rem; flex-wrap: wrap; align-items: baseline; }
.lnk { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; white-space: nowrap; flex: none; }
.lnk:hover { color: var(--ink); }

/* short intro */
.intro { font-size: 1.2rem; }

/* service menu with dotted leaders */
.menu { margin: 0; padding: 0; list-style: none; }
.menu li { padding: 1.15rem 0; border-bottom: 1px dotted var(--rule); }
.menu li:last-child { border-bottom: 0; }
.menu p { margin: 0.25rem 0 0; color: var(--ink-soft); font-size: 1rem; max-width: 60ch; }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.menu-head .mono { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.two-col > div { min-width: 0; }

/* how it goes */
.how { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.how li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.5rem; align-items: baseline; }
.how li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; color: var(--sage-deep); }
.how li p { margin: 0; }

/* sage band around the note from Nautica */
.band { background: var(--sage); color: var(--paper); margin: clamp(3rem, 7vw, 5.5rem) 0; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.band h2, .band a { color: var(--paper); }
.band .note .side { color: color-mix(in srgb, var(--paper) 80%, var(--sage)); }
.band .signature { color: var(--paper); }
.band p { color: var(--paper); }

/* note from Nautica */
.note { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem 3rem; }
.note .side span { display: block; }
.note .side { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); line-height: 1.9; }
.note .body p { max-width: 58ch; }
.signature { font-family: var(--script); font-size: 1.9rem; color: var(--sage-deep); line-height: 1; margin-top: 1.4rem; transform: rotate(-2deg); display: inline-flex; align-items: center; gap: 0.3rem; }
.signature .heart {
  width: 0.7em; height: 0.86em; flex: none; display: inline-block; margin-left: 0.08em; transform: translateY(-0.03em);
  background: currentColor;
  -webkit-mask: url("brand/heart.png") center / contain no-repeat; mask: url("brand/heart.png") center / contain no-repeat;
}

/* ending line */
.end { text-align: center; }
.end h2 { margin-bottom: 0.5rem; }
.end p { color: var(--ink-soft); }

/* footer */
footer { background: var(--sage); color: var(--paper); padding: 1.4rem 0; margin-top: clamp(3rem, 7vw, 5.5rem); }
footer .line { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--paper); }
footer .line a { text-decoration: none; color: var(--paper); }
footer .line a:hover { text-decoration: underline; }

/* contact page */
.contact-top { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.contact-top p { max-width: 52ch; font-size: 1.15rem; color: var(--ink-soft); }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.ways li span { display: block; }
.ways .big { font-size: 1.2rem; }
form { display: grid; gap: 1.6rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 3rem; }
label { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem; }
input, select, textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; border-radius: 0;
  font: inherit; font-size: 1.05rem; color: var(--ink); padding: 0.45rem 0;
}
select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231F241F' stroke-width='1.2'/></svg>") right center no-repeat; padding-right: 1.4rem; }
textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--sage); box-shadow: 0 1px 0 var(--sage); }
::placeholder { color: var(--muted); font-style: italic; }
button, .btn {
  display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--sage-deep); color: var(--paper); border: 1px solid var(--sage-deep); padding: 0.95rem 1.8rem; cursor: pointer; justify-self: start; text-decoration: none;
}
button:hover, .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.end .btn { margin-top: 0.75rem; }
.faq dt { font-size: 1.15rem; margin-top: 1.4rem; }
.faq dd { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 1rem; max-width: 60ch; }

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; max-width: var(--col); margin-inline: auto; }
  .opening { grid-template-columns: 1fr 0.6fr; }
}

@media (max-width: 760px) {
  .wide { width: min(var(--page), 100% - 2.5rem); }
  .wrap { width: min(var(--col), 100% - 2.5rem); }
  body { font-size: 1rem; line-height: 1.55; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.05rem; }
  .mono { font-size: 0.64rem; letter-spacing: 0.14em; }
  .opening { grid-template-columns: 1fr; gap: 1rem; padding-top: 2.25rem; text-align: center; justify-items: center; }
  .opening .bouquet { order: -1; width: 110px; margin-bottom: 0.25rem; justify-self: center; }
  .opening h1 { font-size: 1.95rem; }
  .kicker span.k2::after { content: none; }
  .kicker .k3::before { content: "\A"; white-space: pre; }
  .opening p { margin-inline: auto; }
  .opening p, .contact-top p { font-size: 1rem; }
  .opening .after { gap: 1.25rem; justify-content: center; }
  .letterhead .line { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
  .letterhead .brand { width: auto; }
  .intro { font-size: 1.02rem; }
  .two-col, .note, .pair, .ways { grid-template-columns: 1fr; }
  .two-col { gap: 2.5rem; }
  .menu li { padding: 0.9rem 0; }
  .menu p { font-size: 0.95rem; }
  .how li { grid-template-columns: 2.2rem 1fr; }
  .note { gap: 1rem; }
  .note .side { display: block; line-height: 1.6; }
  .note .side span { display: inline; white-space: nowrap; }
  .note .side span + span::before { content: "\00a0\00b7\00a0"; }
  .signature { font-size: 1.7rem; }
  .letterhead nav a { margin-left: 1.1rem; }
  .rule { margin-block: 2.5rem; width: auto; margin-inline: 0; }
  .band { margin-block: 2.5rem; padding-block: 2.5rem; }
  footer .line { flex-direction: column; gap: 0.4rem; text-align: center; align-items: center; }
}
