@font-face {
  font-family: Fraunces;
  src: url("./media/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fcf5e8;
  --sand: #f0dfca;
  --ink: #2c2118;
  --secondary: #514338;
  --dark: #251912;
  --near-black: #190f0a;
  --cream: #fff3e1;
  --subtle-cream: #e4ccb3;
  --clay: #f2a864;
  --rule: #bba28b;
  --heading: Fraunces, Georgia, serif;
  --edge: clamp(1rem, 5vw, 6rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: normal; }
button { font: inherit; }
h1, h2, p, figure, ol, ul { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 600; line-height: 1.03; letter-spacing: -.036em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 1rem + 4.35vw, 4.85rem); }
::selection { color: var(--near-black); background: var(--clay); }
:focus-visible { outline: 3px solid #87430f; outline-offset: 4px; }
.dark :focus-visible, .top :focus-visible { outline-color: var(--clay); }
[id] { scroll-margin-block-start: 5rem; }
.wrap { width: min(100% - var(--edge) * 2, 76rem); margin-inline: auto; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(1.3rem, 6vw, 6.3rem); align-items: center; }
.dark { color: var(--cream); background: var(--dark); }
.skip { position: fixed; z-index: 20; top: .55rem; left: .5rem; padding: .65rem .9rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }

.top { position: sticky; z-index: 5; top: 0; background: var(--dark); color: var(--cream); border-bottom: 1px solid #695145; }
.top-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.1rem; align-items: center; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; min-height: 3rem; font-family: var(--heading); font-size: 1.2rem; line-height: 1.1; text-decoration: none; }
.brand img { width: 3rem; }
.menu { display: flex; gap: clamp(.65rem, 2.25vw, 2.45rem); }
.menu a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.menu a:hover, .foot-name:hover { text-decoration: underline; text-underline-offset: .28em; }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.2rem; max-width: 100%; padding: .66rem 1.05rem; border: 1px solid transparent; border-radius: 99px; font-weight: 700; line-height: 1.25; text-decoration: none; font-size: .91rem; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.top-action { justify-self: end; min-height: 2.75rem; border-color: #c59d79; }
.primary { background: var(--clay); color: var(--near-black); }
.primary:hover { background: #ffc78c; }
.outline { border-color: #c59d79; }
.outline:hover, .top-action:hover { background: var(--cream); color: var(--ink); }
.out, .down { position: relative; display: inline-block; flex: 0 0 .75rem; width: .75rem; height: .75rem; }
.out::before, .down::before { position: absolute; content: ""; width: .44rem; height: .44rem; border-top: 1.5px solid; border-right: 1.5px solid; top: .08rem; right: .08rem; }
.out::after, .down::after { position: absolute; content: ""; width: .66rem; height: 1.5px; background: currentColor; top: .37rem; left: .05rem; transform: rotate(-45deg); }
.down { transform: rotate(135deg); }

.hero { padding-block: clamp(3.1rem, 7vw, 7.4rem); overflow: clip; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); gap: clamp(2.2rem, 6vw, 6.9rem); align-items: center; }
.hero-copy h1 { max-width: 11ch; font-size: clamp(3.55rem, 1.4rem + 6.2vw, 6.55rem); text-wrap: initial; }
.hero-copy em { color: var(--clay); display: inline-block; }
.hero-copy p { margin-top: 1.14rem; max-width: 35ch; color: var(--subtle-cream); font-size: clamp(1.05rem, .95rem + .58vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.65rem; }
.hero-photo { width: 100%; aspect-ratio: 1.03; overflow: hidden; position: relative; background: #62452c; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; animation: uncover .68s cubic-bezier(.2,.7,.27,1) both; }
@keyframes uncover {
  from { transform: scale(1.035); filter: saturate(.84); }
  to { transform: scale(1); filter: saturate(1); }
}

.intro { padding-block: clamp(3.7rem, 8.25vw, 7.2rem); }
.intro p, .classes p { color: var(--secondary); font-size: clamp(1.02rem, .96rem + .45vw, 1.18rem); max-width: 52ch; }
.intro h2 { max-width: 12ch; }
.portfolio { background: var(--near-black); padding-block: clamp(3.5rem, 8vw, 7.1rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.6rem; margin-bottom: 1.8rem; }
.link { display: inline-flex; align-items: center; gap: .62rem; min-height: 2.75rem; width: fit-content; text-underline-offset: .25em; font-weight: 650; }
.link:hover { text-decoration-thickness: 2px; }
.portfolio-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); grid-auto-rows: 14.4rem; gap: .7rem; }
.ceramic { display: flex; align-items: end; position: relative; isolation: isolate; overflow: hidden; min-width: 0; text-decoration: none; background: #4e3725; }
.ceramic img, .ceramic::after { position: absolute; width: 100%; height: 100%; inset: 0; }
.ceramic img { z-index: -2; object-fit: cover; object-position: center; transition: transform .3s ease; }
.ceramic::after { z-index: -1; content: ""; background: linear-gradient(0deg, #190f0af2, #190f0a12 63%); }
.ceramic:hover img { transform: scale(1.027); }
.ceramic > span { display: flex; gap: .7rem; align-items: center; justify-content: space-between; width: 100%; padding: .8rem clamp(.9rem, 2.5vw, 1.55rem); font-weight: 650; }
.piece-tall { grid-row: span 2; }

.classes { padding-block: clamp(3.6rem, 8.5vw, 7.5rem); background: var(--sand); }
.classes h2 { max-width: 13ch; }
.classes p { margin-top: .85rem; max-width: 34ch; }
.class-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.class-list li { border-bottom: 1px solid var(--rule); }
.class-list a { min-height: 4.3rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem .7rem .7rem .15rem; text-decoration: none; font: 600 clamp(1.55rem, 1.2rem + 1vw, 2.3rem)/1.1 var(--heading); transition: color .18s ease; }
.class-list a:hover { color: #783605; }
.class-list a:hover > span:first-child { text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }

.teacher { padding-block: clamp(3.6rem, 8.5vw, 7.4rem); }
.teacher-inner { grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); }
.teacher img { width: 100%; max-width: 29rem; aspect-ratio: 1.25; object-fit: cover; object-position: 50% 35%; }
.teacher p, .contact p { max-width: 48ch; margin-top: 1.05rem; color: var(--subtle-cream); }
.teacher .link { margin-top: .65rem; }
.visit { padding-block: clamp(3.6rem, 8vw, 7.2rem); }
.visit h2 { max-width: 12ch; }
.visit ol { padding-left: 1.5rem; color: var(--secondary); }
.visit li { padding-left: .25rem; }
.visit li + li { margin-top: 1rem; }
.visit li::marker { color: #87430f; font-weight: 760; }
.visit strong { color: var(--ink); }
.contact { padding-block: clamp(3.55rem, 8vw, 7.1rem); background: #322016; }
.contact .button { margin-top: 1.15rem; }
.address { align-self: end; border-top: 1px solid #927159; padding-top: .85rem; max-width: 28rem; }
.address address { font-style: normal; margin-bottom: .55rem; }
.address .link { display: flex; }
.foot { background: var(--near-black); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem; min-height: 4.6rem; }
.foot-name { font-family: var(--heading); font-size: 1.15rem; min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration: none; }

@media (max-width: 51rem) {
  .top-inner { position: relative; grid-template-columns: auto 1fr; min-height: 4.15rem; }
  .top-action { display: none; }
  .menu { grid-row: 2; grid-column: 1 / -1; gap: 0 var(--edge); flex-wrap: wrap; }
  .js .menu-button { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding-inline: .45rem; border: 0; background: none; color: var(--cream); cursor: pointer; }
  .menu-icon { flex: 0 0 1rem; width: 1rem; height: .62rem; border-block: 1.5px solid; }
  .menu-button[aria-expanded="true"] .menu-icon { height: 1rem; border: 0; background: linear-gradient(45deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%), linear-gradient(-45deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%); }
  .js .menu { display: none; }
  .js .menu[data-open] { display: grid; position: absolute; inset: calc(100% - 1px) calc(-1 * var(--edge)) auto; max-height: calc(100dvh - 4.1rem); overflow: auto; background: var(--dark); border-block: 1px solid #695145; padding: .41rem var(--edge) .7rem; }
  .hero-inner, .columns, .teacher-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.7rem var(--edge); }
  .hero-inner { gap: 1.8rem; }
  .hero-photo { aspect-ratio: 1.3; }
  .hero-copy h1 { max-width: 12ch; font-size: clamp(3rem, 1.4rem + 7vw, 5.2rem); }
}
@media (max-width: 36rem) {
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ceramic, .piece-tall { grid-row: auto; min-height: 12rem; aspect-ratio: 1.45; }
  .piece-tall img { object-position: center 55%; }
}
@media (max-width: 23rem) {
  .brand { font-size: 1.08rem; white-space: nowrap; }
  .actions { gap: .45rem; }
  .actions .button { min-height: 2.75rem; padding-inline: .68rem; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
